Uses of Class
fj.data.fingertrees.Digit
-
Packages that use Digit Package Description fj Types that set the premise for the existence of Functional Java.fj.data.fingertrees Provides 2-3 finger trees, a functional representation of persistent sequences supporting access to the ends in amortized O(1) time. -
-
Uses of Digit in fj
Methods in fj that return types with arguments of type Digit Modifier and Type Method Description static <V,A>
Show<Digit<V,A>>Show. digitShow(Show<V> sv, Show<A> sa)
-
Uses of Digit in fj.data.fingertrees
Subclasses of Digit in fj.data.fingertrees Modifier and Type Class Description class
Four<V,A>
A four-element prefix or suffix of a finger tree.class
One<V,A>
A single-element prefix or suffix of a finger tree.class
Three<V,A>
A three-element prefix or suffix of a finger tree.class
Two<V,A>
A two-element prefix or suffix of a finger tree.Fields in fj.data.fingertrees declared as Digit Modifier and Type Field Description private Digit<V,A>
Deep. prefix
private Digit<V,A>
Deep. suffix
Methods in fj.data.fingertrees that return Digit Modifier and Type Method Description <B> Digit<V,B>
Digit. map(F<A,B> f, Measured<V,B> m)
Maps a function across the elements of this digit, measuring with the given measurement.Digit<V,A>
Deep. prefix()
Returns the first few elements of this tree.Digit<V,A>
Deep. suffix()
Returns the last few elements of this tree.abstract Digit<V,A>
Node. toDigit()
Digit<V,A>
Node2. toDigit()
Digit<V,A>
Node3. toDigit()
Methods in fj.data.fingertrees that return types with arguments of type Digit Modifier and Type Method Description Measured<V,Digit<V,A>>
Measured. digitMeasured()
A measured instance for digits.(package private) Option<Digit<V,A>>
Digit. init()
(package private) abstract P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Digit. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) abstract P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Digit. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Four. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Four. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) abstract P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Node. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) abstract P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Node. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Node2. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Node2. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Node3. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Node3. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
One. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
One. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Three. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Three. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Two. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) P3<Option<Digit<V,A>>,A,Option<Digit<V,A>>>
Two. split1(F<V,java.lang.Boolean> predicate, V acc)
(package private) Option<Digit<V,A>>
Digit. tail()
Methods in fj.data.fingertrees with parameters of type Digit Modifier and Type Method Description private static <V,A>
FingerTree<V,Node<V,A>>Deep. addDigits0(Measured<V,A> m, FingerTree<V,Node<V,A>> m1, Digit<V,A> s1, Digit<V,A> p2, FingerTree<V,Node<V,A>> m2)
private static <V,A>
FingerTree<V,Node<V,Node<V,A>>>Deep. addDigits1(Measured<V,Node<V,A>> m, FingerTree<V,Node<V,Node<V,A>>> m1, Digit<V,Node<V,A>> x, Node<V,A> n, Digit<V,Node<V,A>> y, FingerTree<V,Node<V,Node<V,A>>> m2)
private static <V,A>
FingerTree<V,Node<V,Node<V,A>>>Deep. addDigits2(Measured<V,Node<V,A>> m, FingerTree<V,Node<V,Node<V,A>>> m1, Digit<V,Node<V,A>> suffix, Node<V,A> n1, Node<V,A> n2, Digit<V,Node<V,A>> prefix, FingerTree<V,Node<V,Node<V,A>>> m2)
private static <V,A>
FingerTree<V,Node<V,Node<V,A>>>Deep. addDigits3(Measured<V,Node<V,A>> m, FingerTree<V,Node<V,Node<V,A>>> m1, Digit<V,Node<V,A>> suffix, Node<V,A> n1, Node<V,A> n2, Node<V,A> n3, Digit<V,Node<V,A>> prefix, FingerTree<V,Node<V,Node<V,A>>> m2)
private static <V,A>
FingerTree<V,Node<V,Node<V,A>>>Deep. addDigits4(Measured<V,Node<V,A>> m, FingerTree<V,Node<V,Node<V,A>>> m1, Digit<V,Node<V,A>> suffix, Node<V,A> n1, Node<V,A> n2, Node<V,A> n3, Node<V,A> n4, Digit<V,Node<V,A>> prefix, FingerTree<V,Node<V,Node<V,A>>> m2)
FingerTree<V,A>
MakeTree. deep(Digit<V,A> prefix, FingerTree<V,Node<V,A>> middle, Digit<V,A> suffix)
Constructs a deep tree.FingerTree<V,A>
MakeTree. deep(V v, Digit<V,A> prefix, FingerTree<V,Node<V,A>> middle, Digit<V,A> suffix)
Constructs a deep tree with the given annotation value.private static <V,A>
FingerTree<V,A>Deep. deepL(Measured<V,A> measured, Option<Digit<V,A>> lOpt, FingerTree<V,Node<V,A>> m, Digit<V,A> r)
private static <V,A>
FingerTree<V,A>Deep. deepR(Measured<V,A> measured, Option<Digit<V,A>> rOpt, FingerTree<V,Node<V,A>> m, Digit<V,A> l)
Method parameters in fj.data.fingertrees with type arguments of type Digit Modifier and Type Method Description private static <V,A>
FingerTree<V,A>Deep. deepL(Measured<V,A> measured, Option<Digit<V,A>> lOpt, FingerTree<V,Node<V,A>> m, Digit<V,A> r)
private static <V,A>
FingerTree<V,A>Deep. deepR(Measured<V,A> measured, Option<Digit<V,A>> rOpt, FingerTree<V,Node<V,A>> m, Digit<V,A> l)
Constructors in fj.data.fingertrees with parameters of type Digit Constructor Description Deep(Measured<V,A> m, V v, Digit<V,A> prefix, FingerTree<V,Node<V,A>> middle, Digit<V,A> suffix)
-