Uses of Class
org.djutils.immutablecollections.Immutable
Package | Description |
---|---|
org.djutils.immutablecollections |
Contains a set of immutable collection interfaces and wrapper implementations.
|
-
Uses of Immutable in org.djutils.immutablecollections
Fields in org.djutils.immutablecollections declared as Immutable Modifier and Type Field Description protected Immutable
ImmutableAbstractCollection. copyOrWrap
COPY stores a safe, internal copy of the collection; WRAP stores a pointer to the original collection.protected Immutable
ImmutableAbstractMap. copyOrWrap
COPY stores a safe, internal copy of the collection; WRAP stores a pointer to the original collection.Methods in org.djutils.immutablecollections that return Immutable Modifier and Type Method Description static Immutable
Immutable. valueOf(String name)
Returns the enum constant of this type with the specified name.static Immutable[]
Immutable. values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructors in org.djutils.immutablecollections with parameters of type Immutable Constructor Description ImmutableAbstractCollection(Immutable copyOrWrap)
Construct an abstract immutable collection.ImmutableAbstractList(List<E> list, Immutable copyOrWrap)
Construct an abstract immutable list.ImmutableAbstractMap(Map<K,V> map, Immutable copyOrWrap)
Construct an abstract immutable map.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)