Uses of Interface
org.djutils.immutablecollections.ImmutableCollection
| Package | Description | 
|---|---|
| org.djutils.immutablecollections | 
 Contains a set of immutable collection interfaces and wrapper implementations. 
 | 
- 
Uses of ImmutableCollection in org.djutils.immutablecollections
Subinterfaces of ImmutableCollection in org.djutils.immutablecollections Modifier and Type Interface Description interfaceImmutableList<E>A List interface without the methods that can change it.interfaceImmutableNavigableSet<E>AImmutableSortedSetextended with navigation methods reporting closest matches for given search targets.interfaceImmutableSet<E>A Set interface without the methods that can change it.interfaceImmutableSortedSet<E>A SortedSet interface without the methods that can change it.Classes in org.djutils.immutablecollections that implement ImmutableCollection Modifier and Type Class Description classImmutableAbstractCollection<E>An abstract base class for an immutable wrapper for a Set.classImmutableAbstractList<E>An abstract base class for an immutable wrapper for a List.classImmutableAbstractSet<E>An abstract base class for an immutable wrapper for a Set.classImmutableArrayList<E>An immutable wrapper for an ArrayList.classImmutableHashSet<E>An immutable wrapper for a HashSet.classImmutableLinkedHashSet<E>An immutable wrapper for a LinkedHashSet.classImmutableTreeSet<E>An immutable wrapper for a TreeSet.classImmutableVector<E>An immutable wrapper for a Vector.Fields in org.djutils.immutablecollections declared as ImmutableCollection Modifier and Type Field Description protected ImmutableCollection<V>ImmutableAbstractMap. cachedValuesthe cached values.Methods in org.djutils.immutablecollections that return ImmutableCollection Modifier and Type Method Description ImmutableCollection<V>ImmutableAbstractMap. values()Returns aImmutableCollectionview of the values contained in this map.ImmutableCollection<V>ImmutableLinkedHashMap. values()Returns aImmutableCollectionview of the values contained in this map.ImmutableCollection<V>ImmutableMap. values()Returns aImmutableCollectionview of the values contained in this map.Methods in org.djutils.immutablecollections with parameters of type ImmutableCollection Modifier and Type Method Description booleanImmutableAbstractList. containsAll(ImmutableCollection<?> c)Returnstrueif this immutable collection contains all of the elements in the specified immutable collection.booleanImmutableAbstractSet. containsAll(ImmutableCollection<?> c)Returnstrueif this immutable collection contains all of the elements in the specified immutable collection.booleanImmutableCollection. containsAll(ImmutableCollection<?> c)Returnstrueif this immutable collection contains all of the elements in the specified immutable collection.static booleanImmutableCollections. disjoint(Collection<?> c1, ImmutableCollection<?> ic2)Determine if an immutable collection and a (non immutable) collection have no common members.static booleanImmutableCollections. disjoint(ImmutableCollection<?> ic1, Collection<?> c2)Determine if an immutable collection and a (non immutable) collection have no common members.static booleanImmutableCollections. disjoint(ImmutableCollection<?> ic1, ImmutableCollection<?> ic2)Determine if two immutable collections have no common members.static intImmutableCollections. 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> TImmutableCollections. 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> TImmutableCollections. 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.