public class BooleanStack
extends java.lang.Object
Constructor and Description |
---|
BooleanStack() |
BooleanStack(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
empty() |
boolean |
equals(java.lang.Object o) |
boolean |
peek() |
boolean |
pop() |
void |
push(boolean t) |
int |
size() |
java.lang.String |
toString() |
public BooleanStack(int initialCapacity)
public BooleanStack()
public void push(boolean t)
public boolean peek()
public boolean pop()
public int size()
public boolean empty()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public void clear()
public java.lang.String toString()
toString
in class java.lang.Object