public class Stack extends LinkedList
LinkedList.Node
head, 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, toString
Copyright © 2024. All rights reserved.