Package org.dmfs.jems2.stack
Class EmptyStack<Element>
java.lang.Object
org.dmfs.jems2.stack.EmptyStack<Element>
- All Implemented Interfaces:
Stack<Element>
A
Stack without any elements.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.dmfs.jems2.Stack
Stack.StackTop<Element> -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EmptyStack
public EmptyStack()
-
-
Method Details
-
top
Description copied from interface:StackRetrieves the top of this Stack. If the stack is empty theStack.StackTopwill be absent.
-