public class LongStack
extends java.lang.Object
Constructor and Description |
---|
LongStack() |
LongStack(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
empty() |
boolean |
equals(java.lang.Object o) |
long |
peek() |
long |
pop() |
void |
push(long t) |
java.lang.String |
toString() |
public void push(long t)
public long peek()
public long pop()
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