av.util
Class LongQueue
java.lang.Object
av.util.LongQueue
public class LongQueue
- extends Object
This class is a queue for long values, it has the same functionalities of a
Queue with the Long value type, this class
exists only for performance.
This class is synchronized by a ReentrantReadWriteLock.
- Author:
- compl
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NULL_VALUE
public final long NULL_VALUE
LongQueue
public LongQueue(long nullValue,
int initCapacity)
LongQueue
public LongQueue(long nullValue)
ensureCapacity
public void ensureCapacity(int minCapacity)
enqueue
public void enqueue(long o)
precede
public void precede(long o)
peek
public long peek()
dequeue
public long dequeue()
isEmpty
public boolean isEmpty()
size
public int size()
Copyright© 2006 Ableverse Platform. All rights reserved.