Uses of Interface
org.javimmutable.collections.Indexed
Packages that use Indexed
Package
Description
-
Uses of Indexed in org.javimmutable.collections
Subinterfaces of Indexed in org.javimmutable.collectionsModifier 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.Methods in org.javimmutable.collections that return IndexedModifier and TypeMethodDescriptionIndexed.prefix
(int size) Indexed.reversed()
default <U> Indexed
<U> Indexed.transformed
(Func1<T, U> transforminator) Methods in org.javimmutable.collections with parameters of type IndexedModifier 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
Classes in org.javimmutable.collections.array that implement Indexed -
Uses of Indexed in org.javimmutable.collections.common
Classes in org.javimmutable.collections.common that implement IndexedModifier and TypeClassDescriptionclass
Subindexed<T>
Wrapper for an Indexed that only provides access to a portion of the full Indexed's values.Methods in org.javimmutable.collections.common that return IndexedMethods in org.javimmutable.collections.common with parameters of type IndexedConstructors in org.javimmutable.collections.common with parameters of type Indexed -
Uses of Indexed in org.javimmutable.collections.deque
Classes in org.javimmutable.collections.deque that implement IndexedMethods in org.javimmutable.collections.deque with parameters of type Indexed -
Uses of Indexed in org.javimmutable.collections.indexed
Classes in org.javimmutable.collections.indexed that implement IndexedModifier and TypeClassDescriptionclass
IndexedArray<T>
Indexed implementation backed by a java array.class
IndexedList<T>
Methods in org.javimmutable.collections.indexed that return IndexedModifier 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) Methods in org.javimmutable.collections.indexed with parameters of type Indexed -
Uses of Indexed in org.javimmutable.collections.iterators
Methods in org.javimmutable.collections.iterators with parameters of type IndexedModifier 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
Classes in org.javimmutable.collections.list that implement IndexedMethods in org.javimmutable.collections.list with parameters of type Indexed