public class Stack extends LinkedList
LinkedList.Nodehead, size, tail| Constructor and Description |
|---|
Stack() |
| Modifier and Type | Method and Description |
|---|---|
Object |
peek() |
Object |
pop() |
void |
push(Object o) |
addToHead, addToTail, createNode, getHead, getTail, insertAfter, insertBefore, isEmpty, removeHead, removeNode, removeTail, size, toStringCopyright © 2022. All rights reserved.