FastQue

class FastQue<E>(initSize: Int)

A queue of data

Constructors

Link copied to clipboard
constructor(initSize: Int)

Functions

Link copied to clipboard
fun clear()

clears the queue

Link copied to clipboard

Return ture if size>0

Link copied to clipboard
fun pop(): E

pop element from the queue

Link copied to clipboard
fun push(e: E)

push element to the queue

Link copied to clipboard
fun tryPop(): E?

pop element from the queue

Properties

Link copied to clipboard
var size: Int