|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of JImmutableList in org.javimmutable.collections |
---|
Subinterfaces of JImmutableList in org.javimmutable.collections | |
---|---|
interface |
JImmutableRandomAccessList<T>
Extension of PersistentList that allows insertion and deletion at arbitrary indexes within the list. |
Methods in org.javimmutable.collections that return JImmutableList | |
---|---|
JImmutableList<T> |
JImmutableList.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. |
JImmutableList<T> |
JImmutableList.deleteAll()
|
JImmutableList<T> |
JImmutableList.deleteFirst()
Removes the first value from the list and reduces size by 1. |
JImmutableList<T> |
JImmutableList.deleteLast()
Removes the last value from the list and reduces size by 1. |
JImmutableList<V> |
JImmutableListMap.getList(K key)
Return the list associated with key or an empty list if no list is associated. |
JImmutableList<T> |
JImmutableList.insert(Iterable<? extends T> values)
Adds the values to the end of the list in the same order they appear in the Iterable. |
JImmutableList<T> |
JImmutableList.insert(T value)
Adds a value to the end of the list. |
JImmutableList<T> |
JImmutableList.insertFirst(T value)
Adds a value to the front of the list. |
JImmutableList<T> |
JImmutableList.insertLast(T value)
Adds a value to the end of the list. |
Methods in org.javimmutable.collections with parameters of type JImmutableList | |
---|---|
JImmutableListMap<K,V> |
JImmutableListMap.assign(K key,
JImmutableList<V> value)
Sets the list associated with a specific key. |
Uses of JImmutableList in org.javimmutable.collections.common |
---|
Methods in org.javimmutable.collections.common with parameters of type JImmutableList | ||
---|---|---|
static
|
ListAdaptor.of(JImmutableList<T> list)
|
Constructors in org.javimmutable.collections.common with parameters of type JImmutableList | |
---|---|
ListAdaptor(JImmutableList<T> list)
|
Uses of JImmutableList in org.javimmutable.collections.list |
---|
Classes in org.javimmutable.collections.list that implement JImmutableList | |
---|---|
class |
JImmutableArrayList<T>
JImmutableList implementation using 32-way trees. |
Uses of JImmutableList in org.javimmutable.collections.listmap |
---|
Methods in org.javimmutable.collections.listmap that return JImmutableList | |
---|---|
protected JImmutableList<V> |
AbstractJImmutableListMap.copyList(JImmutableList<V> original)
Overridable by derived classes to create a compatible copy of the specified list. |
protected JImmutableList<V> |
AbstractJImmutableListMap.emptyList()
Overridable by derived classes to create a new empty list |
JImmutableList<V> |
AbstractJImmutableListMap.get(K key)
|
JImmutableList<V> |
AbstractJImmutableListMap.getList(K key)
|
JImmutableList<V> |
AbstractJImmutableListMap.getValueOr(K key,
JImmutableList<V> defaultValue)
|
protected JImmutableList<V> |
AbstractJImmutableListMap.insertInList(JImmutableList<V> list,
V value)
Overridable by derived classes to insert a value into a list in some way. |
Methods in org.javimmutable.collections.listmap that return types with arguments of type JImmutableList | |
---|---|
Cursor<JImmutableMap.Entry<K,JImmutableList<V>>> |
AbstractJImmutableListMap.cursor()
|
Holder<JImmutableList<V>> |
AbstractJImmutableListMap.find(K key)
|
Iterator<JImmutableMap.Entry<K,JImmutableList<V>>> |
AbstractJImmutableListMap.iterator()
|
Methods in org.javimmutable.collections.listmap with parameters of type JImmutableList | |
---|---|
JImmutableListMap<K,V> |
AbstractJImmutableListMap.assign(K key,
JImmutableList<V> value)
|
protected JImmutableList<V> |
AbstractJImmutableListMap.copyList(JImmutableList<V> original)
Overridable by derived classes to create a compatible copy of the specified list. |
JImmutableList<V> |
AbstractJImmutableListMap.getValueOr(K key,
JImmutableList<V> defaultValue)
|
protected JImmutableList<V> |
AbstractJImmutableListMap.insertInList(JImmutableList<V> list,
V value)
Overridable by derived classes to insert a value into a list in some way. |
Method parameters in org.javimmutable.collections.listmap with type arguments of type JImmutableList | |
---|---|
protected JImmutableListMap<K,V> |
JImmutableTreeListMap.create(JImmutableMap<K,JImmutableList<V>> map)
|
protected JImmutableListMap<K,V> |
JImmutableInsertOrderListMap.create(JImmutableMap<K,JImmutableList<V>> map)
|
protected JImmutableListMap<K,V> |
JImmutableHashListMap.create(JImmutableMap<K,JImmutableList<V>> map)
|
protected abstract JImmutableListMap<K,V> |
AbstractJImmutableListMap.create(JImmutableMap<K,JImmutableList<V>> map)
Implemented by derived classes to create a new instance of the appropriate class. |
Constructor parameters in org.javimmutable.collections.listmap with type arguments of type JImmutableList | |
---|---|
AbstractJImmutableListMap(JImmutableMap<K,JImmutableList<V>> contents)
|
Uses of JImmutableList in org.javimmutable.collections.tree_list |
---|
Classes in org.javimmutable.collections.tree_list that implement JImmutableList | |
---|---|
class |
JImmutableTreeList<T>
Implementation of PersistentRandomAccessList that uses a 2-3 tree for its implementation. |
Uses of JImmutableList in org.javimmutable.collections.util |
---|
Methods in org.javimmutable.collections.util that return JImmutableList | ||
---|---|---|
static
|
JImmutables.list()
Produces an empty JImmutableList built atop a 32-way tree. |
|
static
|
JImmutables.list(Collection<? extends T> source)
Produces a JImmutableList containing all of the values in source built atop a 32-way tree. |
|
static
|
JImmutables.list(Cursor<? 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)
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. |
|
static
|
JImmutables.list(Iterator<? extends T> source)
Produces a JImmutableList containing all of the values in source built atop a 32-way tree. |
|
static
|
JImmutables.list(JImmutableArray<? extends T> source)
Produces a JImmutableList containing all of the values in source built atop a 32-way tree. |
|
static
|
JImmutables.list(JImmutableSet<? extends T> source)
Produces a JImmutableList containing all of the values in source built atop a 32-way tree. |
|
static
|
JImmutables.list(List<? extends T> source)
Produces a JImmutableList containing all of the values in source built atop a 32-way tree. |
|
static
|
JImmutables.list(T... values)
Produces a JImmutableList containing all of the specified values built atop a 32-way tree. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |