Everysight SDK
2.5.0
common
Everysight SDK
/
UIKit.app.utils
/
FastFIFO
Fast
FIFO
class
FastFIFO
<
E
>
(
var
initSize
:
Int
)
A fifo of data
Members
Constructors
Fast
FIFO
Link copied to clipboard
constructor
(
initSize
:
Int
)
Functions
clear
Link copied to clipboard
fun
clear
(
)
get
Link copied to clipboard
operator
fun
get
(
i
:
Int
)
:
E
is
Not
Empty
Link copied to clipboard
fun
isNotEmpty
(
)
:
Boolean
peek
Link copied to clipboard
fun
peek
(
)
:
E
pop
Link copied to clipboard
fun
pop
(
)
:
E
push
Link copied to clipboard
fun
push
(
e
:
E
)
set
Link copied to clipboard
operator
fun
set
(
i
:
Int
,
e
:
E
)
try
Pop
Link copied to clipboard
fun
tryPop
(
)
:
E
?
pop element from the queue
Properties
init
Size
Link copied to clipboard
var
initSize
:
Int
read
Idx
Link copied to clipboard
var
readIdx
:
Int
size
Link copied to clipboard
var
size
:
Int