Uses of Interface
org.javimmutable.collections.IList
Packages that use IList
Package
Description
-
Uses of IList in org.javimmutable.collections
Methods in org.javimmutable.collections that return IListModifier and TypeMethodDescriptionstatic <T> IList
<T> Efficiently produces aIList
containing all of the values in source built atop a balanced binary tree.static <T> IList
<T> Efficiently produces aIList
containing all of the values in source built atop a balanced binary tree.Replaces the value at the specified index (which must be within current bounds of the list) with the new value.IListBuilder.build()
Builds and returns a collection containing all of the added values.IList.delete
(int index) Delete value at index (which must be within the current bounds of the list).IList.deleteAll()
IList.deleteFirst()
Removes the first value from the list and reduces size by 1.IList.deleteLast()
Removes the last value from the list and reduces size by 1.Return the list associated with key or an empty list if no list is associated.Insert value at index (which must be within 0 to size).Adds a value to the end of the list.Inserts all elements at index (which must be within 0 to size) in the same order they appear in the Iterable.Inserts all elements at index (which must be within 0 to size) in the same order they appear in the Iterable.Adds the values to the end of the list in the same order they appear in the Iterable.Adds the values to the end of the list in the same order they appear in the Iterable.IList.insertAllFirst
(Iterable<? extends T> values) Adds the values to the beginning of the list in the same order they appear in the Iterable.IList.insertAllFirst
(Iterator<? extends T> values) Adds the values to the beginning of the list in the same order they appear in the Iterable.IList.insertAllLast
(Iterable<? extends T> values) Adds the values to the end of the list in the same order they appear in the Iterable.IList.insertAllLast
(Iterator<? extends T> values) Adds the values to the end of the list in the same order they appear in the Iterable.IList.insertFirst
(T value) Adds a value to the front of the list.IList.insertLast
(T value) Adds a value to the end of the list.IList.middle
(int offset, int limit) Return the (possibly empty) list containing the values starting at offset (inclusive) and including all remaining items up to but excluding the value at index limit.static <T> IList
<T> ILists.of()
Produces an emptyIList
built atop a balanced binary tree.static <T> IList
<T> ILists.of
(T... values) Efficiently produces aIList
containing all of the specified values built atop a balanced binary tree.IList.prefix
(int limit) Return the (possibly empty) list containing the first limit values.Returns a list of the same type as this containing all those elements for which predicate returns false.IList.reverse()
Returns a list containing the same elements as this list but with their order reversed so that first in this list is last in returned list etc.Returns a list of the same type as this containing only those elements for which predicate returns true.IList.slice
(int offset, int limit) Return the (possibly empty) list containing the values starting at offset (inclusive) and including all remaining items up to but excluding the value at index limit.IList.suffix
(int offset) Return the (possibly empty) list containing the values starting at offset (inclusive) and including all remaining items.<A> IList
<A> Apply the transform function to all elements in iterator order and add each transformed value to a new collection of this type.<A> IList
<A> IList.transformSome
(Func1<T, Maybe<A>> transform) Apply the transform function to all elements in iterator order and add the contents of non-empty Holders to a new collection of this type.Methods in org.javimmutable.collections that return types with arguments of type IListModifier and TypeMethodDescriptionIStreamable
<IMapEntry<K, IList<V>>> IListMap.entries()
Creates an IStreamable to access all of the Map's entries.IList.listCollector()
Returns a Collector that creates a list of the same type as this containing all of the collected values inserted after whatever starting values this already contained.static <T> java.util.stream.Collector
<T, ?, IList<T>> ICollectors.toList()
Efficiently collects values into aIList
built atop a balanced binary tree.Methods in org.javimmutable.collections with parameters of type IListModifier and TypeMethodDescriptionSets the list associated with a specific key.Method parameters in org.javimmutable.collections with type arguments of type IListModifier and TypeMethodDescriptiondefault void
Processes every key/list pair in this map using the provided function.default <E extends Exception>
voidIListMap.forEachThrows
(Proc2Throws<K, IList<V>, E> proc) Processes every key/list pair in this map using the provided function.Add key/value entry to the map, replacing any existing entry with same key.Apply the specified transform function to the List assigned to the specified key and assign the result to the key in this map.Apply the specified transform function to the List assigned to the specified key and assign the result to the key in this map.Apply the specified transform function to the List assigned to the specified key and assign the result to the key in this map.Apply the specified transform function to the List assigned to the specified key and assign the result to the key in this map. -
Uses of IList in org.javimmutable.collections.common
Methods in org.javimmutable.collections.common with parameters of type IListConstructors in org.javimmutable.collections.common with parameters of type IList -
Uses of IList in org.javimmutable.collections.list
Classes in org.javimmutable.collections.list that implement IListMethods in org.javimmutable.collections.list that return IListMethods in org.javimmutable.collections.list that return types with arguments of type IListModifier and TypeMethodDescriptionstatic <T> java.util.stream.Collector
<T, ?, IList<T>> TreeList.createListCollector()
-
Uses of IList in org.javimmutable.collections.listmap
Fields in org.javimmutable.collections.listmap declared as IListModifier and TypeFieldDescriptionprotected final IList
<V> AbstractListMap.emptyList
protected final IList
<V> AbstractListMap.emptyList
protected final IList
<V> AbstractListMap.emptyList
Fields in org.javimmutable.collections.listmap with type parameters of type IListModifier and TypeFieldDescriptionAbstractListMap.contents
AbstractListMap.contents
AbstractListMap.contents
Method parameters in org.javimmutable.collections.listmap with type arguments of type IList -
Uses of IList in org.javimmutable.collections.serialization
Fields in org.javimmutable.collections.serialization declared as IList