FastFIFO

class FastFIFO<E>(var initSize: Int)

A fifo of data

Constructors

Link copied to clipboard
constructor(initSize: Int)

Functions

Link copied to clipboard
fun clear()
Link copied to clipboard
operator fun get(i: Int): E
Link copied to clipboard
Link copied to clipboard
fun peek(): E
Link copied to clipboard
fun pop(): E
Link copied to clipboard
fun push(e: E)
Link copied to clipboard
operator fun set(i: Int, e: E)
Link copied to clipboard
fun tryPop(): E?

pop element from the queue

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var size: Int