Package org.apache.johnzon.core
Class SimpleStack<T>
- java.lang.Object
-
- org.apache.johnzon.core.SimpleStack<T>
-
class SimpleStack<T> extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
SimpleStack.Element<T>
-
Field Summary
Fields Modifier and Type Field Description private SimpleStack.Element<T>
head
-
Constructor Summary
Constructors Constructor Description SimpleStack()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
isEmpty()
(package private) T
peek()
(package private) T
pop()
(package private) void
push(T element)
-
-
-
Field Detail
-
head
private SimpleStack.Element<T> head
-
-