Package io.grpc
Class PersistentHashArrayMappedTrie.Leaf<K,V>
- java.lang.Object
-
- io.grpc.PersistentHashArrayMappedTrie.Leaf<K,V>
-
- All Implemented Interfaces:
PersistentHashArrayMappedTrie.Node<K,V>
- Enclosing class:
- PersistentHashArrayMappedTrie
static final class PersistentHashArrayMappedTrie.Leaf<K,V> extends java.lang.Object implements PersistentHashArrayMappedTrie.Node<K,V>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
get(K key, int hash, int bitsConsumed)
PersistentHashArrayMappedTrie.Node<K,V>
put(K key, V value, int hash, int bitsConsumed)
int
size()
java.lang.String
toString()
-
-
-
Method Detail
-
size
public int size()
- Specified by:
size
in interfacePersistentHashArrayMappedTrie.Node<K,V>
-
get
public V get(K key, int hash, int bitsConsumed)
- Specified by:
get
in interfacePersistentHashArrayMappedTrie.Node<K,V>
-
put
public PersistentHashArrayMappedTrie.Node<K,V> put(K key, V value, int hash, int bitsConsumed)
- Specified by:
put
in interfacePersistentHashArrayMappedTrie.Node<K,V>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-