|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.imagero.util.Fifo
Optimized Firt-In-First-Out implementation.
| Field Summary | |
protected java.lang.Object[] |
elements
|
protected int |
readPos
|
protected int |
writePos
|
| Constructor Summary | |
Fifo()
|
|
Fifo(int count)
|
|
| Method Summary | |
protected void |
checkWritePos()
|
java.lang.Object |
pop()
|
void |
push(java.lang.Object o)
|
int |
size()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.Object[] elements
protected int readPos
protected int writePos
| Constructor Detail |
public Fifo()
public Fifo(int count)
| Method Detail |
public void push(java.lang.Object o)
public int size()
protected void checkWritePos()
public java.lang.Object pop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||