public class StackCounter extends Object
Modifier and Type | Field and Description |
---|---|
private LinkedList<Integer> |
stack |
Constructor and Description |
---|
StackCounter() |
Modifier and Type | Method and Description |
---|---|
void |
addLayer() |
int |
currentLevel() |
int |
decrement() |
int |
increment() |
int |
removeLayer() |
private LinkedList<Integer> stack
Copyright © 2022 Requirement Yogi. All rights reserved.