Uses of Interface
org.djutils.immutablecollections.ImmutableList
| Package | Description | 
|---|---|
| org.djutils.immutablecollections | 
 Contains a set of immutable collection interfaces and wrapper implementations. 
 | 
- 
Uses of ImmutableList in org.djutils.immutablecollections
Classes in org.djutils.immutablecollections that implement ImmutableList Modifier and Type Class Description classImmutableAbstractList<E>An abstract base class for an immutable wrapper for a List.classImmutableArrayList<E>An immutable wrapper for an ArrayList.classImmutableVector<E>An immutable wrapper for a Vector.Methods in org.djutils.immutablecollections that return ImmutableList Modifier and Type Method Description static <T> ImmutableList<T>ImmutableCollections. emptyImmutableList()Return an immutable empty list.ImmutableList<E>ImmutableArrayList. subList(int fromIndex, int toIndex)Returns a safe, immutable copy of the portion of this immutable list between the specifiedfromIndex, inclusive, andtoIndex, exclusive.ImmutableList<E>ImmutableList. subList(int fromIndex, int toIndex)Returns a safe, immutable copy of the portion of this immutable list between the specifiedfromIndex, inclusive, andtoIndex, exclusive.ImmutableList<E>ImmutableVector. subList(int fromIndex, int toIndex)Returns a safe, immutable copy of the portion of this immutable list between the specifiedfromIndex, inclusive, andtoIndex, exclusive.Methods in org.djutils.immutablecollections with parameters of type ImmutableList Modifier and Type Method Description static <T> intImmutableCollections. binarySearch(ImmutableList<? extends Comparable<? super T>> il, T key)Search the immutable list for the specified object using the binary search algorithm.static <T> intImmutableCollections. binarySearch(ImmutableList<? extends T> il, T key, Comparator<? super T> comparator)Search the immutable list for the specified object using the binary search algorithm.static intImmutableCollections. indexOfSubList(List<?> source, ImmutableList<?> target)Returns the starting position of the first occurrence of the specified target list within the specified source list, or -1 if there is no such occurrence.static intImmutableCollections. indexOfSubList(ImmutableList<?> source, List<?> target)Returns the starting position of the first occurrence of the specified target list within the specified source list, or -1 if there is no such occurrence.static intImmutableCollections. indexOfSubList(ImmutableList<?> source, ImmutableList<?> target)Returns the starting position of the first occurrence of the specified target list within the specified source list, or -1 if there is no such occurrence.static intImmutableCollections. lastIndexOfSubList(List<?> source, ImmutableList<?> target)Returns the starting position of the last occurrence of the specified target list within the specified source list, or -1 if there is no such occurrence.static intImmutableCollections. lastIndexOfSubList(ImmutableList<?> source, List<?> target)Returns the starting position of the last occurrence of the specified target list within the specified source list, or -1 if there is no such occurrence.static intImmutableCollections. lastIndexOfSubList(ImmutableList<?> source, ImmutableList<?> target)Returns the starting position of the last occurrence of the specified target list within the specified source list, or -1 if there is no such occurrence.