Uses of Interface
org.javimmutable.collections.Indexed
Package
Description
-
Uses of Indexed in org.javimmutable.collections
Modifier and TypeInterfaceDescriptioninterface
IArray<T>
Immutable sparse array implementation using integers as keys.interface
IDeque<T>
Interface for containers that store items in list form with individual items available for get() and assign() using their indexes.interface
IList<T>
Interface for containers that store items in list form with individual items available for get() and assign() using their indexes.Modifier and TypeMethodDescriptionIndexed.prefix
(int size) Indexed.reversed()
default <U> Indexed
<U> Indexed.transformed
(Func1<T, U> transforminator) Modifier and TypeMethodDescriptiondefault IArrayBuilder
<T> Adds all values in the Indexed to the values included in the collection when build() is called.default IArrayBuilder
<T> Adds all values in the specified range of Indexed to the values included in the collection when build() is called.default IMapBuilder
<K, V> Adds all values in the Indexed to the values included in the collection when build() is called.default IMapBuilder
<K, V> IMapBuilder.add
(Indexed<? extends IMapEntry<? extends K, ? extends V>> source, int offset, int limit) Adds all values in the specified range of Indexed to the values included in the collection when build() is called.default ISetBuilder
<T> Adds all values in the Indexed to the values included in the collection when build() is called.default ISetBuilder
<T> Adds all values in the specified range of Indexed to the values included in the collection when build() is called.default IDequeBuilder
<T> Adds all values in the Indexed to the values included in the collection when build() is called.default IDequeBuilder
<T> Adds all values in the specified range of Indexed to the values included in the collection when build() is called.default IListBuilder
<T> Adds all values in the Indexed to the values included in the collection when build() is called.default IListBuilder
<T> Adds all values in the specified range of Indexed to the values included in the collection when build() is called.static <T> IArray
<T> Creates a sparse array containing all of the values from source that supports any integer (positive or negative) as an index.static <T> IArray
<T> Creates a sparse array containing all of the values in the specified range from source that supports any integer (positive or negative) as an index. -
Uses of Indexed in org.javimmutable.collections.array
-
Uses of Indexed in org.javimmutable.collections.common
Modifier and TypeClassDescriptionclass
Subindexed<T>
Wrapper for an Indexed that only provides access to a portion of the full Indexed's values. -
Uses of Indexed in org.javimmutable.collections.deque
-
Uses of Indexed in org.javimmutable.collections.indexed
Modifier and TypeClassDescriptionclass
IndexedArray<T>
Indexed implementation backed by a java array.class
IndexedList<T>
Modifier and TypeMethodDescriptionstatic <T> Indexed
<T> IndexedHelper.empty()
static <T,
V extends T>
Indexed<T> IndexedHelper.indexed
(V a) Returns an Indexed containing a single value.static <T,
V extends T>
Indexed<T> IndexedHelper.indexed
(V a, V b) Returns an Indexed containing two values.static <T,
V extends T>
Indexed<T> IndexedHelper.indexed
(V a, V b, V c) Returns an Indexed containing three values.static <T,
V extends T>
Indexed<T> IndexedHelper.indexed
(V a, V b, V c, V... others) Returns an Indexed containing three values.IndexedHelper.range
(int low, int high) static <T> Indexed
<T> IndexedHelper.repeating
(T value, int count) -
Uses of Indexed in org.javimmutable.collections.iterators
Modifier and TypeMethodDescriptionstatic <T> SplitableIterator
<T> static <T> SplitableIterable
<T> static <T> SplitableIterator
<T> static <T> LazyMultiIterator
<T> LazyMultiIterator.iterator
(Indexed<SplitableIterable<T>> source) static <T> GenericIterator.State
<T> GenericIterator.multiIterableState
(GenericIterator.State<T> parent, Indexed<? extends GenericIterator.Iterable<T>> children, int offset, int limit) Returns a State for iterating multiple collections (Iterables) that are themselves stored in an Indexed collection.static <T> GenericIterator.State
<T> GenericIterator.multiValueState
(GenericIterator.State<T> parent, Indexed<T> values, int offset, int limit) Returns a State for iterating multiple values stored in an Indexed collection.static <T> SplitableIterable
<T> static <T> SplitableIterator
<T> static <S,
T> LazyMultiIterator <T> LazyMultiIterator.transformed
(Indexed<S> source, java.util.function.Function<S, SplitableIterable<T>> transforminator) Constructs an iterator that visits all of the values reachable from all of the SplitableIterables visited by source. -
Uses of Indexed in org.javimmutable.collections.list