|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Indexed in org.javimmutable.collections |
---|
Subinterfaces of Indexed in org.javimmutable.collections | |
---|---|
interface |
JImmutableArray<T>
Immutable sparse array implementation using integers as keys. |
interface |
JImmutableList<T>
Interface for containers that store items in list form with individual items available for get() and assign() using their indexes. |
interface |
JImmutableRandomAccessList<T>
Extension of PersistentList that allows insertion and deletion at arbitrary indexes within the list. |
Methods in org.javimmutable.collections with parameters of type Indexed | |
---|---|
MutableBuilder<T,C> |
MutableBuilder.add(Indexed<? extends T> source)
Adds all values in the Indexed to the values included in the collection when build() is called. |
MutableBuilder<T,C> |
MutableBuilder.add(Indexed<? extends T> 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. |
Uses of Indexed in org.javimmutable.collections.array.bit32 |
---|
Classes in org.javimmutable.collections.array.bit32 that implement Indexed | |
---|---|
class |
Bit32Array<T>
JImmutableArray implementation that only accepts indexes in the range [0, 31]. |
class |
EmptyBit32Array<T>
|
class |
FullBit32Array<T>
|
class |
SingleBit32Array<T>
|
class |
StandardBit32Array<T>
|
Methods in org.javimmutable.collections.array.bit32 with parameters of type Indexed | ||
---|---|---|
static
|
Bit32Array.of(Indexed<T> source,
int offset,
int limit)
Constructor for efficiently creating a Bit32Array with consecutive indexes of up to 32 elements from an Indexed collection. |
Uses of Indexed in org.javimmutable.collections.array.trie32 |
---|
Classes in org.javimmutable.collections.array.trie32 that implement Indexed | |
---|---|
class |
TrieArray<T>
|
Methods in org.javimmutable.collections.array.trie32 with parameters of type Indexed | ||
---|---|---|
TrieArray.Builder<T> |
TrieArray.Builder.add(Indexed<? extends T> source)
|
|
TrieArray.Builder<T> |
TrieArray.Builder.add(Indexed<? extends T> source,
int offset,
int limit)
|
|
static
|
TrieNode.fromSource(int index,
Indexed<? extends T> source,
int offset,
int limit)
|
|
static
|
TrieArray.of(Indexed<? extends T> source,
int offset,
int limit)
Deprecated. use builder() instead |
Uses of Indexed in org.javimmutable.collections.common |
---|
Classes in org.javimmutable.collections.common that implement Indexed | |
---|---|
class |
AbstractJImmutableArray<T>
|
class |
IndexedArray<T>
Indexed implementation backed by a java array. |
class |
IndexedList<T>
|
Uses of Indexed in org.javimmutable.collections.cursors |
---|
Methods in org.javimmutable.collections.cursors with parameters of type Indexed | ||
---|---|---|
static
|
StandardCursor.of(Indexed<T> source)
Creates a Cursor for the given Indexed. |
Uses of Indexed in org.javimmutable.collections.list |
---|
Classes in org.javimmutable.collections.list that implement Indexed | |
---|---|
class |
JImmutableArrayList<T>
JImmutableList implementation using 32-way trees. |
Methods in org.javimmutable.collections.list with parameters of type Indexed | ||
---|---|---|
JImmutableArrayList.Builder<T> |
JImmutableArrayList.Builder.add(Indexed<? extends T> source)
|
|
JImmutableArrayList.Builder<T> |
JImmutableArrayList.Builder.add(Indexed<? extends T> source,
int offset,
int limit)
|
|
static
|
JImmutableArrayList.of(Indexed<? extends T> source,
int offset,
int limit)
|
|
static
|
JImmutableArrayList.of(Indexed<T> source)
|
Uses of Indexed in org.javimmutable.collections.tree_list |
---|
Classes in org.javimmutable.collections.tree_list that implement Indexed | |
---|---|
class |
JImmutableTreeList<T>
Implementation of PersistentRandomAccessList that uses a 2-3 tree for its implementation. |
Methods in org.javimmutable.collections.tree_list with parameters of type Indexed | |
---|---|
JImmutableTreeList.Builder<T> |
JImmutableTreeList.Builder.add(Indexed<? extends T> source)
|
JImmutableTreeList.Builder<T> |
JImmutableTreeList.Builder.add(Indexed<? extends T> source,
int offset,
int limit)
|
Uses of Indexed in org.javimmutable.collections.util |
---|
Methods in org.javimmutable.collections.util with parameters of type Indexed | ||
---|---|---|
static
|
JImmutables.array(Indexed<? extends T> source)
Creates a sparse array containing all of the values from source that supports any integer (positive or negative) as an index. |
|
static
|
JImmutables.array(Indexed<? extends T> source,
int offset,
int limit)
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. |
|
static
|
JImmutables.list(Indexed<? extends T> source)
Produces a JImmutableList containing all of the values in source built atop a 32-way tree. |
|
static
|
JImmutables.list(Indexed<? extends T> source,
int offset,
int limit)
Produces a JImmutableList containing all of the values in the specified range from source built atop a 32-way tree. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |