Class PersistentTrieMap.AbstractMapNode<K,V>

java.lang.Object
io.usethesource.capsule.core.PersistentTrieMap.AbstractMapNode<K,V>
All Implemented Interfaces:
MapNode<K, V, PersistentTrieMap.AbstractMapNode<K,V>>, Node, Serializable
Direct Known Subclasses:
PersistentTrieMap.CompactMapNode
Enclosing class:
PersistentTrieMap<K,V>

protected abstract static class PersistentTrieMap.AbstractMapNode<K,V> extends Object implements MapNode<K, V, PersistentTrieMap.AbstractMapNode<K,V>>, Serializable
See Also:
  • Constructor Details

    • AbstractMapNode

      protected AbstractMapNode()
  • Method Details

    • dataArray

      public <T> ArrayView<T> dataArray(int category, int component)
      Description copied from interface: Node
      Creates an array abstraction for a subset of data stored in a node.
      Specified by:
      dataArray in interface Node
      Type Parameters:
      T - dynamic cast type of projected on view
      Parameters:
      category - the bit pattern of the (heterogeneous) data category
      component - the index to address into tuple
    • nodeArray

      public abstract ArrayView<PersistentTrieMap.AbstractMapNode<K,V>> nodeArray()
      Specified by:
      nodeArray in interface Node