- Direct Known Subclasses:
Node2
, Node3
public abstract class Node<V,A>
extends Object
An inner node of the 2-3 tree.
-
-
Constructor Summary
Constructors
-
Method Summary
abstract <B> B
static <V,
A,
B> F<B,F<Node<V,A>,B>>
abstract <B> B
static <V,
A,
B> F<B,F<Node<V,A>,B>>
abstract int
abstract <B> B
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
Method Details
-
foldRight
public abstract <B> B foldRight(F<A,F<B,B>> f,
B z)
-
foldLeft
public abstract <B> B foldLeft(F<B,F<A,B>> f,
B z)
-
foldLeft_
public static <V,
A,
B> F<B,F<Node<V,A>,B>> foldLeft_(F<B,F<A,B>> bff)
-
foldRight_
public static <V,
A,
B> F<B,F<Node<V,A>,B>> foldRight_(F<A,F<B,B>> aff)
-
-
-
toDigit
public abstract Digit<V,A> toDigit()
-
-
-
-
-
-
length
public abstract int length()
-
toStream
public abstract Stream<A> toStream()