|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JImmutableRandomAccessList | |
---|---|
org.javimmutable.collections | |
org.javimmutable.collections.tree_list | |
org.javimmutable.collections.util |
Uses of JImmutableRandomAccessList in org.javimmutable.collections |
---|
Methods in org.javimmutable.collections that return JImmutableRandomAccessList | |
---|---|
JImmutableRandomAccessList<T> |
JImmutableRandomAccessList.assign(int index,
T value)
Replaces the value at the specified index (which must be within current bounds of the list) with the new value. |
JImmutableRandomAccessList<T> |
JImmutableRandomAccessList.delete(int index)
Delete value at index (which must be within the current bounds of the list). |
JImmutableRandomAccessList<T> |
JImmutableRandomAccessList.deleteAll()
|
JImmutableRandomAccessList<T> |
JImmutableRandomAccessList.deleteFirst()
Removes the first value from the list and reduces size by 1. |
JImmutableRandomAccessList<T> |
JImmutableRandomAccessList.deleteLast()
Removes the last value from the list and reduces size by 1. |
JImmutableRandomAccessList<T> |
JImmutableRandomAccessList.insert(int index,
T value)
Insert value at index (which must be within 0 to size). |
JImmutableRandomAccessList<T> |
JImmutableRandomAccessList.insert(T value)
Adds a value to the end of the list. |
JImmutableRandomAccessList<T> |
JImmutableRandomAccessList.insertFirst(T value)
Adds a value to the front of the list. |
JImmutableRandomAccessList<T> |
JImmutableRandomAccessList.insertLast(T value)
Adds a value to the end of the list. |
Uses of JImmutableRandomAccessList in org.javimmutable.collections.tree_list |
---|
Classes in org.javimmutable.collections.tree_list that implement JImmutableRandomAccessList | |
---|---|
class |
JImmutableTreeList<T>
Implementation of PersistentRandomAccessList that uses a 2-3 tree for its implementation. |
Methods in org.javimmutable.collections.tree_list that return JImmutableRandomAccessList | |
---|---|
JImmutableRandomAccessList<T> |
JImmutableTreeList.deleteAll()
|
Uses of JImmutableRandomAccessList in org.javimmutable.collections.util |
---|
Methods in org.javimmutable.collections.util that return JImmutableRandomAccessList | ||
---|---|---|
static
|
JImmutables.ralist()
Produces an empty JImmutableRandomAccessList built atop a 2-3 tree. |
|
static
|
JImmutables.ralist(Collection<? extends T> source)
Produces an empty JImmutableRandomAccessList containing all of the values in source built atop a 2-3 tree. |
|
static
|
JImmutables.ralist(Cursor<? extends T> source)
Produces an empty JImmutableRandomAccessList containing all of the values in source built atop a 2-3 tree. |
|
static
|
JImmutables.ralist(Cursorable<? extends T> source)
Produces an empty JImmutableRandomAccessList containing all of the values in source built atop a 2-3 tree. |
|
static
|
JImmutables.ralist(Iterator<? extends T> source)
Produces an empty JImmutableRandomAccessList containing all of the values in source built atop a 2-3 tree. |
|
static
|
JImmutables.ralist(T... source)
Produces an empty JImmutableRandomAccessList containing all of the values in source built atop a 2-3 tree. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |