Uses of Interface
org.jhotdraw8.icollection.immutable.ImmutableCollection
Packages that use ImmutableCollection
Package
Description
Provides mutable and immutable collections.
Provides facades of collection interfaces.
Defines interfaces to immutable collections.
-
Uses of ImmutableCollection in org.jhotdraw8.icollection
Classes in org.jhotdraw8.icollection that implement ImmutableCollectionModifier and TypeClassDescriptionclassChampSet<E>Implements theImmutableSetinterface using a Compressed Hash-Array Mapped Prefix-tree (CHAMP).classImplements theImmutableSequencedSetinterface using a Compressed Hash-Array Mapped Prefix-tree (CHAMP) and a bit-mapped trie (Vector).classRedBlackSet<E>Implements theImmutableNavigableSetinterface using a Red-Black tree.classVectorList<E>Implements theImmutableListinterface using a bit-mapped trie (Vector).Methods in org.jhotdraw8.icollection that return ImmutableCollectionModifier and TypeMethodDescription<T> ImmutableCollection<T> RedBlackSet.empty(@Nullable Comparator<T> comparator) -
Uses of ImmutableCollection in org.jhotdraw8.icollection.facade
Classes in org.jhotdraw8.icollection.facade that implement ImmutableCollectionModifier and TypeClassDescriptionclassProvides aImmutableSetfacade to a set ofImmutableSetfunctions. -
Uses of ImmutableCollection in org.jhotdraw8.icollection.immutable
Subinterfaces of ImmutableCollection in org.jhotdraw8.icollection.immutableModifier and TypeInterfaceDescriptioninterfaceAn interface to an immutable list; the implementation guarantees that the state of the collection does not change.interfaceAn interface to an immutable navigable set; the implementation guarantees that the state of the collection does not change.interfaceAn interface to an immutable collection with a well-defined iteration order; the implementation guarantees that the state of the collection does not change.interfaceAn interface to an immutable set with a well-defined iteration order; the implementation guarantees that the state of the collection does not change.interfaceImmutableSet<E>An interface to an immutable set; the implementation guarantees that the state of the collection does not change.interfaceAn interface to an immutable sorted set; the implementation guarantees that the state of the collection does not change.Methods in org.jhotdraw8.icollection.immutable that return ImmutableCollectionModifier and TypeMethodDescriptionReturns a copy of this collection that contains all elements of this collection and also the specified element.Returns a copy of this collection that contains all elements of this collection and also all elements of the specified collection.<T> ImmutableCollection<T> ImmutableCollection.empty()Returns an empty collection instance that has the specified element type.<T> ImmutableCollection<T> ImmutableSortedSet.empty(@Nullable Comparator<T> comparator) Returns a copy of this collection that is empty, and has the specified type and comparator.default ImmutableCollection<E> Retains all elements in this collection that satisfy the specified predicate.Returns a copy of this collection that contains all elements of this collection except the specified element.Returns a copy of this collection that contains all elements of this collection except the elements of the specified collection.Returns a copy of this collection that contains only elements that are in this collection and in the specified collection.