Uses of Interface
org.djutils.immutablecollections.ImmutableCollection
Package
Description
Contains a set of immutable collection interfaces and wrapper implementations.
-
Uses of ImmutableCollection in org.djutils.immutablecollections
Modifier and TypeInterfaceDescriptioninterface
A List interface without the methods that can change it.interface
AImmutableSortedSet
extended with navigation methods reporting closest matches for given search targets.interface
ImmutableSet<E>
A Set interface without the methods that can change it.interface
A SortedSet interface without the methods that can change it.Modifier and TypeClassDescriptionclass
An abstract base class for an immutable wrapper for a Set.class
An abstract base class for an immutable wrapper for a List.class
An abstract base class for an immutable wrapper for a Set.class
An immutable wrapper for an ArrayList.class
An immutable wrapper for a HashSet.class
An immutable wrapper for a LinkedHashSet.class
An immutable wrapper for a TreeSet.class
An immutable wrapper for a Vector.Modifier and TypeFieldDescriptionprotected ImmutableCollection<V>
ImmutableAbstractMap.cachedValues
the cached values.Modifier and TypeMethodDescriptionImmutableAbstractMap.values()
ImmutableLinkedHashMap.values()
ImmutableMap.values()
Returns aImmutableCollection
view of the values contained in this map.Modifier and TypeMethodDescriptionfinal boolean
ImmutableAbstractList.containsAll
(ImmutableCollection<?> c) final boolean
ImmutableAbstractSet.containsAll
(ImmutableCollection<?> c) boolean
ImmutableCollection.containsAll
(ImmutableCollection<?> c) Returnstrue
if this immutable collection contains all of the elements in the specified immutable collection.static boolean
ImmutableCollections.disjoint
(Collection<?> c1, ImmutableCollection<?> ic2) Determine if an immutable collection and a (non immutable) collection have no common members.static boolean
ImmutableCollections.disjoint
(ImmutableCollection<?> ic1, Collection<?> c2) Determine if an immutable collection and a (non immutable) collection have no common members.static boolean
ImmutableCollections.disjoint
(ImmutableCollection<?> ic1, ImmutableCollection<?> ic2) Determine if two immutable collections have no common members.static int
ImmutableCollections.frequency
(ImmutableCollection<?> ic, Object o) Return the number of occurrences of an object in an immutable collection.static <T extends Object & Comparable<? super T>>
TImmutableCollections.max
(ImmutableCollection<? extends T> ic) Returns the maximum element of an immutable collection according to the natural ordering of its elements.static <T> T
ImmutableCollections.max
(ImmutableCollection<? extends T> ic, Comparator<? super T> comparator) Returns the maximum element of an immutable collection according to the natural ordering of its elements.static <T extends Object & Comparable<? super T>>
TImmutableCollections.min
(ImmutableCollection<? extends T> ic) Returns the minimum element of an immutable collection according to the natural ordering of its elements.static <T> T
ImmutableCollections.min
(ImmutableCollection<? extends T> ic, Comparator<? super T> comparator) Returns the minimum element of an immutable collection according to the natural ordering of its elements.