|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Holder in org.javimmutable.collections |
---|
Classes in org.javimmutable.collections that implement Holder | |
---|---|
class |
Holders<V>
Provides static utility methods for constructing Holder instances. |
Methods in org.javimmutable.collections that return Holder | |
---|---|
Holder<T> |
JImmutableArray.find(int index)
Return a Holder containing the value associated wth the index or an empty Holder if no value is associated with the index. |
Holder<V> |
Mapped.find(K key)
Return a Holder containing the value associated wth the key or an empty Holder if no value is associated with the key. |
Holder<V> |
JImmutableMap.find(K key)
Search for a value within the map and return a Holder indicating if the value was found and, if it was found, the value itself. |
Holder<JImmutableMap.Entry<Integer,T>> |
JImmutableArray.findEntry(int index)
Search for an Entry within the map and return a Holder indicating if the Entry was found and, if it was found, the Entry itself. |
Holder<JImmutableMap.Entry<K,V>> |
JImmutableMap.findEntry(K key)
Search for an Entry within the map and return a Holder indicating if the Entry was found and, if it was found, the Entry itself. |
Methods in org.javimmutable.collections with parameters of type Holder | ||
---|---|---|
static
|
Holders.areEqual(Holder<T> a,
Holder<T> b)
|
|
static
|
Holders.areEqual(Holder<T> a,
Holder<T> b)
|
|
static
|
Holders.hashCode(Holder<T> a)
|
Uses of Holder in org.javimmutable.collections.array.bit32 |
---|
Methods in org.javimmutable.collections.array.bit32 that return Holder | |
---|---|
Holder<T> |
StandardBit32Array.find(int index)
|
Holder<T> |
SingleBit32Array.find(int index)
|
Holder<T> |
FullBit32Array.find(int index)
|
Holder<T> |
EmptyBit32Array.find(int index)
|
Uses of Holder in org.javimmutable.collections.array.trie32 |
---|
Classes in org.javimmutable.collections.array.trie32 that implement Holder | |
---|---|
class |
LeafTrieNode<T>
|
Methods in org.javimmutable.collections.array.trie32 that return Holder | ||
---|---|---|
Holder<T> |
Transforms.delete(T leaf,
K key,
MutableDelta delta)
Take the current leaf object and produce a new one (possibly the same) with the specified key removed. |
|
Holder<T> |
TrieArray.find(int index)
|
|
abstract Holder<T> |
TrieNode.find(int shift,
int index)
|
|
Holder<T> |
SingleBranchTrieNode.find(int shift,
int index)
|
|
Holder<T> |
MultiBranchTrieNode.find(int shift,
int index)
|
|
Holder<T> |
LeafTrieNode.find(int shift,
int index)
|
|
Holder<T> |
FullBranchTrieNode.find(int shift,
int index)
|
|
Holder<T> |
EmptyTrieNode.find(int shift,
int index)
|
|
abstract
|
TrieNode.find(int shift,
int index,
K key,
Transforms<T,K,V> transforms)
|
|
|
SingleBranchTrieNode.find(int shift,
int index,
K key,
Transforms<T,K,V> transforms)
|
|
|
MultiBranchTrieNode.find(int shift,
int index,
K key,
Transforms<T,K,V> transforms)
|
|
|
LeafTrieNode.find(int shift,
int index,
K key,
Transforms<T,K,V> transforms)
|
|
|
FullBranchTrieNode.find(int shift,
int index,
K key,
Transforms<T,K,V> transforms)
|
|
|
EmptyTrieNode.find(int shift,
int index,
K key,
Transforms<T,K,V> transforms)
|
|
Holder<JImmutableMap.Entry<K,V>> |
Transforms.findEntry(T leaf,
K key)
Look for the specified key in the leaf object and return a Holder that is empty if the key is not in the leaf or else contains a JImmutableMap.Entry associated with the key and value. |
|
Holder<V> |
Transforms.findValue(T leaf,
K key)
Look for the specified key in the leaf object and return a Holder that is empty if the key is not in the leaf or else contains the value associated with the key. |
Methods in org.javimmutable.collections.array.trie32 with parameters of type Holder | |
---|---|
T |
Transforms.update(Holder<T> leaf,
K key,
V value,
MutableDelta delta)
Take the current leaf object (if there is one) and produce a new one (possibly the same) with the specified key and value. |
Uses of Holder in org.javimmutable.collections.common |
---|
Methods in org.javimmutable.collections.common that return Holder | |
---|---|
Holder<JImmutableMap.Entry<Integer,T>> |
AbstractJImmutableArray.findEntry(int key)
|
Uses of Holder in org.javimmutable.collections.cursors |
---|
Methods in org.javimmutable.collections.cursors that return Holder | |
---|---|
Holder<T> |
ValueFunction.nextValue()
|
Uses of Holder in org.javimmutable.collections.hash |
---|
Methods in org.javimmutable.collections.hash that return Holder | |
---|---|
Holder<V> |
JImmutableHashMap.find(K key)
|
Holder<V> |
EmptyHashMap.find(K key)
|
Holder<JImmutableMap.Entry<K,V>> |
JImmutableHashMap.findEntry(K key)
|
Holder<JImmutableMap.Entry<K,V>> |
EmptyHashMap.findEntry(K key)
|
Holder<V> |
HashValueListNode.getValueForKey(K key)
|
Uses of Holder in org.javimmutable.collections.inorder |
---|
Methods in org.javimmutable.collections.inorder that return Holder | |
---|---|
Holder<V> |
JImmutableInsertOrderMap.find(K key)
|
Holder<JImmutableMap.Entry<K,V>> |
JImmutableInsertOrderMap.findEntry(K key)
|
Uses of Holder in org.javimmutable.collections.iocursors |
---|
Methods in org.javimmutable.collections.iocursors that return Holder | |
---|---|
Holder<T> |
ReaderValueFunction.nextValue()
|
protected abstract Holder<T> |
ReaderValueFunction.readValue(R reader)
|
Uses of Holder in org.javimmutable.collections.listmap |
---|
Methods in org.javimmutable.collections.listmap that return Holder | |
---|---|
Holder<JImmutableList<V>> |
AbstractJImmutableListMap.find(K key)
|
Uses of Holder in org.javimmutable.collections.tree |
---|
Classes in org.javimmutable.collections.tree that implement Holder | |
---|---|
class |
LeafNode<K,V>
|
Methods in org.javimmutable.collections.tree that return Holder | |
---|---|
Holder<V> |
TwoNode.find(Comparator<K> props,
K key)
|
abstract Holder<V> |
TreeNode.find(Comparator<K> comparator,
K key)
Return a (possibly empty) Holder containing the value matching key. |
Holder<V> |
ThreeNode.find(Comparator<K> comparator,
K key)
|
Holder<V> |
LeafNode.find(Comparator<K> props,
K searchKey)
|
Holder<V> |
EmptyNode.find(Comparator<K> props,
K key)
|
Holder<V> |
JImmutableTreeMap.find(K key)
|
Holder<JImmutableMap.Entry<K,V>> |
TwoNode.findEntry(Comparator<K> props,
K key)
|
abstract Holder<JImmutableMap.Entry<K,V>> |
TreeNode.findEntry(Comparator<K> comparator,
K key)
Return a (possibly empty) Holder containing the an Entry matching key. |
Holder<JImmutableMap.Entry<K,V>> |
ThreeNode.findEntry(Comparator<K> comparator,
K key)
|
Holder<JImmutableMap.Entry<K,V>> |
LeafNode.findEntry(Comparator<K> props,
K searchKey)
|
Holder<JImmutableMap.Entry<K,V>> |
EmptyNode.findEntry(Comparator<K> props,
K key)
|
Holder<JImmutableMap.Entry<K,V>> |
JImmutableTreeMap.findEntry(K key)
|
Uses of Holder in org.javimmutable.collections.util |
---|
Methods in org.javimmutable.collections.util that return Holder | ||
---|---|---|
static
|
Functions.find(Cursor<? extends T> cursor,
Func1<? super T,Boolean> func)
Calls func for each value in cursor and passes it to func until func returns true. |
Method parameters in org.javimmutable.collections.util with type arguments of type Holder | ||
---|---|---|
static
|
Functions.collectSome(Cursor<? extends T> cursor,
A list,
Func1<? super T,Holder<R>> func)
Calls func for every value in cursor and adds each value for which func returns a non-empty Holder to a list. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |