|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.util.IntQueue
public class IntQueue
A fast queue implementation for int primitives. Space efficient because ints are not wrapped and underlying data structure is a ring buffer.
Constructor Summary | |
---|---|
IntQueue()
|
|
IntQueue(int initialCapacity)
|
Method Summary | |
---|---|
void |
add(int value)
|
int |
capacity()
|
int |
remove()
|
int |
size()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntQueue()
public IntQueue(int initialCapacity)
Method Detail |
---|
public void add(int value)
public int remove()
public int size()
public int capacity()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |