Uses of Interface
org.apache.pivot.collections.Set
-
Packages that use Set 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.adapter Provides a set of collection implementations that are backed byjava.util
collections.org.apache.pivot.collections.concurrent Contains a set of thread-safe collection implementations.org.apache.pivot.collections.immutable Contains a set of read-only collection implementations.org.apache.pivot.wtk Contains classes that define the structure and behavior of WTK user interface components. -
-
Uses of Set in org.apache.pivot.collections
Classes in org.apache.pivot.collections that implement Set Modifier and Type Class Description class
EnumSet<E extends java.lang.Enum<E>>
Implementation of theSet
interface that is backed by an array of enum values.class
HashSet<E>
Implementation of theSet
interface that is backed by a hash table.Methods in org.apache.pivot.collections with parameters of type Set Modifier and Type Method Description void
SetListener.Adapter. comparatorChanged(Set<E> set, java.util.Comparator<E> previousComparator)
Deprecated.default void
SetListener. comparatorChanged(Set<E> set, java.util.Comparator<E> previousComparator)
Called when a set's comparator has changed.void
SetListener.Listeners. comparatorChanged(Set<E> set, java.util.Comparator<E> previousComparator)
void
SetListener.Adapter. elementAdded(Set<E> set, E element)
Deprecated.default void
SetListener. elementAdded(Set<E> set, E element)
Called when an element is added to a set.void
SetListener.Listeners. elementAdded(Set<E> set, E element)
void
SetListener.Adapter. elementRemoved(Set<E> set, E element)
Deprecated.default void
SetListener. elementRemoved(Set<E> set, E element)
Called when an element is removed from the set.void
SetListener.Listeners. elementRemoved(Set<E> set, E element)
void
SetListener.Adapter. setCleared(Set<E> set)
Deprecated.void
SetListener.Listeners. setCleared(Set<E> set)
default void
SetListener. setCleared(Set<E> set)
Called when set data has been reset.Constructors in org.apache.pivot.collections with parameters of type Set Constructor Description HashSet(Set<E> set)
-
Uses of Set in org.apache.pivot.collections.adapter
Classes in org.apache.pivot.collections.adapter that implement Set Modifier and Type Class Description class
SetAdapter<E>
Implementation of theSet
interface that is backed by an instance ofSet
. -
Uses of Set in org.apache.pivot.collections.concurrent
Classes in org.apache.pivot.collections.concurrent that implement Set Modifier and Type Class Description class
SynchronizedSet<E>
Synchronized implementation of theSet
interface.Constructors in org.apache.pivot.collections.concurrent with parameters of type Set Constructor Description SynchronizedSet(Set<E> wrappedSet)
Wrap the given set with this synchronized version. -
Uses of Set in org.apache.pivot.collections.immutable
Classes in org.apache.pivot.collections.immutable that implement Set Modifier and Type Class Description class
ImmutableSet<E>
Unmodifiable implementation of theSet
interface.Constructors in org.apache.pivot.collections.immutable with parameters of type Set Constructor Description ImmutableSet(Set<E> set)
-
Uses of Set in org.apache.pivot.wtk
Fields in org.apache.pivot.wtk declared as Set Modifier and Type Field Description static Set<Keyboard.Modifier>
Keyboard.Modifier. ALL_MODIFIERS
The set of all possible keyboard modifiers (for use withKeyboard.isPressed(org.apache.pivot.wtk.Keyboard.Modifier)
, orKeyboard.Modifier.getMask(Set)
,Keyboard.areAllPressed(Set)
, orKeyboard.areAnyPressed(Set)
).Methods in org.apache.pivot.wtk with parameters of type Set Modifier and Type Method Description static boolean
Keyboard. areAllPressed(Set<Keyboard.Modifier> modifierSet)
Are all of the given set ofKeyboard.Modifier
s pressed?static boolean
Keyboard. areAnyPressed(Set<Keyboard.Modifier> modifierSet)
Are any of the given set ofKeyboard.Modifier
s pressed?static boolean
Keyboard. arePressed(Set<Keyboard.Modifier> modifierSet)
Test to see if and only if the given set of modifier(s) are pressed.static int
Keyboard.Modifier. getMask(Set<Keyboard.Modifier> modifiers)
Determine the complete mask for all the given modifiers.
-