public final class Node<K,V>
extends java.lang.Object
Constructor and Description |
---|
Node(Either<P2<K,V>,HashArrayMappedTrie<K,V>> e) |
Node(HashArrayMappedTrie<K,V> hamt) |
Node(P2<K,V> simpleNode) |
Modifier and Type | Method and Description |
---|---|
static <K,V> Node<K,V> |
hamtNode(HashArrayMappedTrie<K,V> hamt) |
<B> B |
match(F<P2<K,V>,B> f,
F<HashArrayMappedTrie<K,V>,B> g)
Performs a reduction on this Node using the given arguments.
|
static <K,V> Node<K,V> |
p2Node(P2<K,V> p) |
Stream<P2<K,V>> |
toStream() |
java.lang.String |
toString() |
public Node(HashArrayMappedTrie<K,V> hamt)
public static <K,V> Node<K,V> hamtNode(HashArrayMappedTrie<K,V> hamt)
public <B> B match(F<P2<K,V>,B> f, F<HashArrayMappedTrie<K,V>,B> g)
public java.lang.String toString()
toString
in class java.lang.Object