|
JavaGenes, NASA Ames. Written largely by Al Globus | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.alsUtility.CircularIntQueue
Field Summary | |
protected int[] |
buffer
|
protected int |
popIndex
|
protected int |
pushIndex
|
Constructor Summary | |
CircularIntQueue(int length)
|
Method Summary | |
int |
length()
|
int |
pop()
|
void |
push(int value)
|
void |
reset()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int pushIndex
protected int popIndex
protected int[] buffer
Constructor Detail |
public CircularIntQueue(int length)
Method Detail |
public void reset()
public int length()
public void push(int value)
public int pop()
|
JavaGenes, NASA Ames. Written largely by Al Globus | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |