class SimpleStack<T> extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
SimpleStack.Element<T> |
Modifier and Type | Field and Description |
---|---|
private SimpleStack.Element<T> |
head |
Constructor and Description |
---|
SimpleStack() |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
isEmpty() |
(package private) T |
peek() |
(package private) T |
pop() |
(package private) void |
push(T element) |
private SimpleStack.Element<T> head
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.