org.javimmutable.collections.array.trie32
Class FullBranchTrieNode<T>
java.lang.Object
org.javimmutable.collections.array.trie32.TrieNode<T>
org.javimmutable.collections.array.trie32.FullBranchTrieNode<T>
@Immutable
public class FullBranchTrieNode<T>
- extends TrieNode<T>
Method Summary |
Cursor<JImmutableMap.Entry<Integer,T>> |
anyOrderEntryCursor()
|
|
anyOrderEntryCursor(Transforms<T,K,V> transforms)
|
Cursor<T> |
anyOrderValueCursor()
|
|
assign(int shift,
int index,
K key,
V value,
Transforms<T,K,V> transforms,
MutableDelta sizeDelta)
|
TrieNode<T> |
assign(int shift,
int index,
T value,
MutableDelta sizeDelta)
|
|
delete(int shift,
int index,
K key,
Transforms<T,K,V> transforms,
MutableDelta sizeDelta)
|
TrieNode<T> |
delete(int shift,
int index,
MutableDelta sizeDelta)
|
Holder<T> |
find(int shift,
int index)
|
|
find(int shift,
int index,
K key,
Transforms<T,K,V> transforms)
|
int |
getShift()
|
|
getValueOr(int shift,
int index,
K key,
Transforms<T,K,V> transforms,
V defaultValue)
|
T |
getValueOr(int shift,
int index,
T defaultValue)
|
boolean |
isEmpty()
|
boolean |
isLeaf()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in class TrieNode<T>
getValueOr
public T getValueOr(int shift,
int index,
T defaultValue)
- Specified by:
getValueOr
in class TrieNode<T>
getValueOr
public <K,V> V getValueOr(int shift,
int index,
K key,
Transforms<T,K,V> transforms,
V defaultValue)
- Specified by:
getValueOr
in class TrieNode<T>
find
public Holder<T> find(int shift,
int index)
- Specified by:
find
in class TrieNode<T>
find
public <K,V> Holder<V> find(int shift,
int index,
K key,
Transforms<T,K,V> transforms)
- Specified by:
find
in class TrieNode<T>
assign
public TrieNode<T> assign(int shift,
int index,
T value,
MutableDelta sizeDelta)
- Specified by:
assign
in class TrieNode<T>
assign
public <K,V> TrieNode<T> assign(int shift,
int index,
K key,
V value,
Transforms<T,K,V> transforms,
MutableDelta sizeDelta)
- Specified by:
assign
in class TrieNode<T>
delete
public TrieNode<T> delete(int shift,
int index,
MutableDelta sizeDelta)
- Specified by:
delete
in class TrieNode<T>
delete
public <K,V> TrieNode<T> delete(int shift,
int index,
K key,
Transforms<T,K,V> transforms,
MutableDelta sizeDelta)
- Specified by:
delete
in class TrieNode<T>
getShift
public int getShift()
- Specified by:
getShift
in class TrieNode<T>
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf
in class TrieNode<T>
anyOrderEntryCursor
public Cursor<JImmutableMap.Entry<Integer,T>> anyOrderEntryCursor()
- Specified by:
anyOrderEntryCursor
in class TrieNode<T>
anyOrderValueCursor
public Cursor<T> anyOrderValueCursor()
- Specified by:
anyOrderValueCursor
in class TrieNode<T>
anyOrderEntryCursor
public <K,V> Cursor<JImmutableMap.Entry<K,V>> anyOrderEntryCursor(Transforms<T,K,V> transforms)
- Specified by:
anyOrderEntryCursor
in class TrieNode<T>
Copyright © 2014 Burton Computer Corporation. All rights reserved.