public abstract class Stack
extends java.lang.Object
Constructor and Description |
---|
Stack() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getImplementationType()
Allow the user to read the implementation type name.
|
abstract boolean |
isEmpty()
Abstract method.
|
abstract boolean |
isFull()
Abstract method.
|
abstract java.lang.Object |
peek()
Abstract method.
|
abstract java.lang.Object |
pop()
Abstract method.
|
abstract void |
push(java.lang.Object o)
Abstract method.
|
void |
setImplementationType(java.lang.String implementationType)
Allow the user to assign the implementation type name.
|
public java.lang.String getImplementationType()
public void setImplementationType(java.lang.String implementationType)
public abstract void push(java.lang.Object o)
public abstract java.lang.Object pop()
public abstract boolean isEmpty()
public abstract boolean isFull()
public abstract java.lang.Object peek()