public class ShortStack
extends java.lang.Object
Constructor | Description |
---|---|
ShortStack(int initialCapacity) |
Modifier and Type | Method | Description |
---|---|---|
void |
clear() |
|
short |
peek() |
|
short |
pop() |
|
void |
push(short pushed) |
|
java.lang.String |
toString() |