Interface Node
-
- All Known Subinterfaces:
MapNode<K,V,R>,MultimapNode<K,V,C,R>,SetNode<K,R>
- All Known Implementing Classes:
PersistentTrieMap.AbstractMapNode,PersistentTrieMap.BitmapIndexedMapNode,PersistentTrieMap.CompactMapNode,PersistentTrieMap.CompactMixedMapNode,PersistentTrieMap.HashCollisionMapNode,PersistentTrieSet.AbstractSetNode,PersistentTrieSet.BitmapIndexedSetNode,PersistentTrieSet.CompactMixedSetNode,PersistentTrieSet.CompactSetNode,PersistentTrieSet.HashCollisionSetNode,PersistentTrieSetMultimap.AbstractHashCollisionNode,PersistentTrieSetMultimap.AbstractSetMultimapNode,PersistentTrieSetMultimap.BitmapIndexedSetMultimapNode,PersistentTrieSetMultimap.CompactMixedSetMultimapNode,PersistentTrieSetMultimap.CompactSetMultimapNode,PersistentTrieSetMultimap.HashCollisionNode
public interface Node
-
-
Field Summary
Fields Modifier and Type Field Description static byteSIZE_EMPTYstatic byteSIZE_MORE_THAN_ONEstatic byteSIZE_ONE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> ArrayView<T>dataArray(int category, int component)Creates an array abstraction for a subset of data stored in a node.ArrayView<? extends Node>nodeArray()bytesizePredicate()Abstract predicate over a node's size.
-
-
-
Field Detail
-
SIZE_EMPTY
static final byte SIZE_EMPTY
- See Also:
- Constant Field Values
-
SIZE_ONE
static final byte SIZE_ONE
- See Also:
- Constant Field Values
-
SIZE_MORE_THAN_ONE
static final byte SIZE_MORE_THAN_ONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
sizePredicate
byte sizePredicate()
- Returns:
- size predicate
-
dataArray
<T> ArrayView<T> dataArray(int category, int component)
Creates an array abstraction for a subset of data stored in a node.- Type Parameters:
T- dynamic cast type of projected on view- Parameters:
category- the bit pattern of the (heterogeneous) data categorycomponent- the index to address into tuple
-
-