E - The type of element managed by the collection.public interface LIFO<E>
| Modifier and Type | Method and Description |
|---|---|
E |
getTopElement()
This method returns a reference to the top element on the stack without
removing it from the stack.
|
E |
popElementOffTop()
This method pops the top element off of the stack.
|
void |
pushElementOnTop(E element)
This method pushes a new element onto the top of the stack.
|
void pushElementOnTop(E element)
element - The new element to be added.E popElementOffTop()
E getTopElement()
Copyright © 2015 Crater Dog Technologies(TM). All rights reserved.