Package org.eclipse.collections.api.set
This package contains interfaces for set API which enhance the performance and functionality of
Set.
This package contains 6 interfaces:
-
FixedSizeSet- a set that may be mutated, but cannot grow or shrink in size. -
ImmutableSet- the non-modifiable equivalent interface toMutableSet. -
MutableSet- an implementation of a JCF Set which provides internal iterator methods matching the Smalltalk Collection protocol. -
Pool- locates an object in the pool which is equal tokey. -
SetIterable- a read-only Set API, with the minor exception inherited fromIterable(iterable.iterator().remove()). -
UnsortedSetIterable- an iterable whose items are unique.
-
Interface Summary Interface Description FixedSizeSet<T> A FixedSizeSet is a set that may be mutated, but cannot grow or shrink in size.ImmutableSet<T> ImmutableSet is the non-modifiable equivalent interface toMutableSet.ImmutableSetIterable<T> MultiReaderSet<T> A MultiReaderSet provides thread-safe iteration for a set through methodswithReadLockAndDelegate()andwithWriteLockAndDelegate().MutableSet<T> A MutableSet is an extension java.util.Set which provides methods matching the Smalltalk Collection protocol.MutableSetIterable<T> ParallelSetIterable<T> ParallelUnsortedSetIterable<T> A ParallelIterable is RichIterable which will defer evaluation for certain methods like select, reject, collect, etc.Pool<V> SetIterable<T> A Read-only Set api, with the minor exception inherited from java.lang.Iterable (iterable.iterator().remove()).UnsortedSetIterable<T> An iterable whose items are unique.