Uses of Class
fj.data.fingertrees.Measured
Packages that use Measured
Package
Description
Common algebraic data types.
Provides 2-3 finger trees, a functional representation of persistent sequences supporting access to the ends in
amortized O(1) time.
-
Uses of Measured in fj.data
-
Uses of Measured in fj.data.fingertrees
Fields in fj.data.fingertrees declared as MeasuredMethods in fj.data.fingertrees that return MeasuredModifier and TypeMethodDescriptionMeasured.digitMeasured()A measured instance for digits.Digit.measured()FingerTree.measured()static <V,A> Measured <V, A> Constructs a Measured instance for the element type, given a monoid and a measuring function.static <V,A> Measured <V, A> Node.measured()Measured.nodeMeasured()A measured instance for nodes.Methods in fj.data.fingertrees with parameters of type MeasuredModifier and TypeMethodDescriptionprivate 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) private static <V,A> FingerTree <V, Node<V, A>> Deep.append1(Measured<V, A> m, FingerTree<V, Node<V, A>> xs, Node<V, A> a, FingerTree<V, Node<V, A>> ys) private static <V,A> FingerTree <V, Node<V, A>> Deep.append2(Measured<V, A> m, FingerTree<V, Node<V, A>> t1, Node<V, A> n1, Node<V, A> n2, FingerTree<V, Node<V, A>> t2) private static <V,A> FingerTree <V, Node<V, A>> Deep.append3(Measured<V, A> m, FingerTree<V, Node<V, A>> t1, Node<V, A> n1, Node<V, A> n2, Node<V, A> n3, FingerTree<V, Node<V, A>> t2) private static <V,A> FingerTree <V, Node<V, A>> Deep.append4(Measured<V, A> m, FingerTree<V, Node<V, A>> t1, Node<V, A> n1, Node<V, A> n2, Node<V, A> n3, Node<V, A> n4, FingerTree<V, Node<V, A>> t2) 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) <B> FingerTree<V, B> Maps a function across the elements of this digit, measuring with the given measurement.<B> FingerTree<V, B> abstract <B> FingerTree<V, B> Maps the given function across this tree, measuring with the given Measured instance.<B> FingerTree<V, B> static <V,A> MakeTree <V, A> Returns a builder of trees and tree components that annotates them using the given Measured instance.Constructors in fj.data.fingertrees with parameters of type MeasuredModifierConstructorDescription(package private)(package private)(package private)(package private)FingerTree(Measured<V, A> m) (package private)(package private)(package private)(package private)(package private)(package private)(package private)(package private)(package private)