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