|
PCJ API Version 1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface represents stacks of boolean values.
Stack,
BooleanDeque| Method Summary | |
boolean |
peek()
Returns the top element of this stack. |
boolean |
pop()
Pops an element off this stack. |
void |
push(boolean v)
Pushes a specified element onto this stack. |
| Methods inherited from interface bak.pcj.list.BooleanList |
add, addAll, get, indexOf, indexOf, lastIndexOf, lastIndexOf, listIterator, listIterator, removeElementAt, set |
| Methods inherited from interface bak.pcj.BooleanCollection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, trimToSize |
| Method Detail |
public void push(boolean v)
v - the element to push onto this stack.public boolean pop()
IndexOutOfBoundsException - if the stack is empty.peek()public boolean peek()
IndexOutOfBoundsException - if the stack is empty.pop()
|
PCJ API Version 1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||