Mind map
Stack
Map content
Stack
Explaination
- Last in, First Out (LIFO)
- Insert from the front
- Remove from the front
Add Method (void)
- theStack.add(0, (String)newItem);
- stack.push(Object);
Remove Method (Object)
- theStack.remove(0);
- stack.pop();
Size Method (int)
- theStack.size();
- stack.size();
Empty Method (void)
- theStack.clear();
- stack.emptyStack();
Display Method (String)
- Iterator it;
- theStack.displayStack();
If Empty Method (boolean)
- theStack.isEmpty();
- stack.isEmpty();
Information
- Description
- Mind Map on Stack, created by Ian Arbuckle on 05/01/2015.
- Created by
- Ian Arbuckle
- Views
- 2
- Rating