Uses of Interface
org.apache.pivot.collections.Stack
-
Packages that use Stack Package Description org.apache.pivot.collections Defines a set of classes and interfaces that serve as generic collections as well as the data model for UI components.org.apache.pivot.collections.concurrent Contains a set of thread-safe collection implementations. -
-
Uses of Stack in org.apache.pivot.collections
Classes in org.apache.pivot.collections that implement Stack Modifier and Type Class Description class
ArrayStack<T>
class
LinkedStack<T>
Implementation of theStack
interface that is backed by a linked list.Methods in org.apache.pivot.collections with parameters of type Stack Modifier and Type Method Description void
StackListener.Adapter. comparatorChanged(Stack<T> stack, java.util.Comparator<T> previousComparator)
Deprecated.default void
StackListener. comparatorChanged(Stack<T> stack, java.util.Comparator<T> previousComparator)
Called when a stack's comparator has changed.void
StackListener.Listeners. comparatorChanged(Stack<T> stack, java.util.Comparator<T> previousComparator)
void
StackListener.Adapter. itemPopped(Stack<T> stack, T item)
Deprecated.default void
StackListener. itemPopped(Stack<T> stack, T item)
Called when an item has been popped off of a stack.void
StackListener.Listeners. itemPopped(Stack<T> stack, T item)
void
StackListener.Adapter. itemPushed(Stack<T> stack, T item)
Deprecated.default void
StackListener. itemPushed(Stack<T> stack, T item)
Called when an item has been pushed onto a stack.void
StackListener.Listeners. itemPushed(Stack<T> stack, T item)
void
StackListener.Adapter. stackCleared(Stack<T> stack)
Deprecated.void
StackListener.Listeners. stackCleared(Stack<T> stack)
default void
StackListener. stackCleared(Stack<T> stack)
Called when a stack has been cleared. -
Uses of Stack in org.apache.pivot.collections.concurrent
Classes in org.apache.pivot.collections.concurrent that implement Stack Modifier and Type Class Description class
SynchronizedStack<T>
Synchronized implementation of theStack
interface.Constructors in org.apache.pivot.collections.concurrent with parameters of type Stack Constructor Description SynchronizedStack(Stack<T> stack)
-