Uses of Enum Class
org.djutils.immutablecollections.Immutable
Package
Description
Contains a set of immutable collection interfaces and wrapper implementations.
-
Uses of Immutable in org.djutils.immutablecollections
Modifier and TypeFieldDescriptionprotected final Immutable
ImmutableAbstractCollection.copyOrWrap
COPY stores a safe, internal copy of the collection; WRAP stores a pointer to the original collection.protected final Immutable
ImmutableAbstractMap.copyOrWrap
COPY stores a safe, internal copy of the collection; WRAP stores a pointer to the original collection.Modifier and TypeMethodDescriptionstatic Immutable
Returns the enum constant of this class with the specified name.static Immutable[]
Immutable.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionImmutableAbstractCollection
(Immutable copyOrWrap) Construct an abstract immutable collection.protected
ImmutableAbstractList
(List<E> list, Immutable copyOrWrap) Construct an abstract immutable list.protected
ImmutableAbstractMap
(Map<K, V> map, Immutable copyOrWrap) Construct an abstract immutable map.protected
ImmutableAbstractSet
(Set<E> set, Immutable copyOrWrap) Construct an abstract immutable set.ImmutableArrayList
(List<E> list, Immutable copyOrWrap) ImmutableArrayList
(ImmutableAbstractList<E> list, Immutable copyOrWrap) ImmutableHashMap
(Map<K, V> map, Immutable copyOrWrap) ImmutableHashMap
(ImmutableAbstractMap<K, V> immutableMap, Immutable copyOrWrap) ImmutableHashSet
(Set<E> set, Immutable copyOrWrap) Construct a new ImmutableHashSet containing the provided set.ImmutableHashSet
(ImmutableAbstractSet<E> set, Immutable copyOrWrap) Construct a new ImmutableHashSet containing the provided set.ImmutableLinkedHashMap
(Map<K, V> map, Immutable copyOrWrap) ImmutableLinkedHashMap
(ImmutableAbstractMap<K, V> immutableMap, Immutable copyOrWrap) ImmutableLinkedHashSet
(Set<E> collection, Immutable copyOrWrap) ImmutableLinkedHashSet
(ImmutableAbstractSet<E> set, Immutable copyOrWrap) ImmutableTreeMap
(NavigableMap<K, V> map, Immutable copyOrWrap) ImmutableTreeMap
(ImmutableTreeMap<K, V> immutableTreeMap, Immutable copyOrWrap) ImmutableTreeSet
(NavigableSet<E> treeSet, Immutable copyOrWrap) ImmutableTreeSet
(ImmutableTreeSet<E> immutableTreeSet, Immutable copyOrWrap) ImmutableVector
(Vector<E> vector, Immutable copyOrWrap) ImmutableVector
(ImmutableVector<E> vector, Immutable copyOrWrap)