E
- Gaze data classpublic class Queue<E>
extends java.lang.Object
JGDBlink
,
JGDSingleSample
,
JGDFixation
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Vector<E> |
mEntries
Elements storage
|
(package private) int |
mLimit
Maximum number of elements in a queue
|
Constructor and Description |
---|
Queue(int maxLength)
Constructor
|
java.util.Vector<E> mEntries
int mLimit
public Queue(int maxLength)
maxLength
- Maximum number of elements in a queuepublic void append(E element)
element
- Element to addpublic E extract()
public E last()
public boolean isEmpty()
public int size()