public class HalfQueue extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.Object[] |
array |
Constructor and Description |
---|
HalfQueue(int maxSize) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
isFull() |
void |
queue(java.lang.Object element)
Push an element onto the stack
|
int |
size() |