Package org.reactfx.util
Class FingerTree.NonEmptyFingerTree<T,S>
java.lang.Object
org.reactfx.util.FingerTree<T,S>
org.reactfx.util.FingerTree.NonEmptyFingerTree<T,S>
- Direct Known Subclasses:
FingerTree.Branch
,FingerTree.Leaf
- Enclosing class:
FingerTree<T,
S>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.reactfx.util.FingerTree
FingerTree.NonEmptyFingerTree<T,
S> -
Field Summary
Fields inherited from class org.reactfx.util.FingerTree
semigroup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract Either
<? extends FingerTree.NonEmptyFingerTree<T, S>, Tuple2<FingerTree.NonEmptyFingerTree<T, S>, FingerTree.NonEmptyFingerTree<T, S>>> appendLte
(FingerTree<T, S> right) (package private) final FingerTree.NonEmptyFingerTree
<T, S> appendTree
(FingerTree<T, S> right) abstract S
join
(FingerTree<T, S> rightTree) (package private) abstract BiIndex
locateProgressively
(ToIntFunction<? super S> metric, int position) (package private) abstract BiIndex
locateProgressively0
(ToIntFunction<? super S> metric, int position) locateRegressively
(ToIntFunction<? super S> metric, int position) (package private) abstract BiIndex
locateRegressively0
(ToIntFunction<? super S> metric, int position) (package private) abstract Either
<? extends FingerTree.NonEmptyFingerTree<T, S>, Tuple2<FingerTree.NonEmptyFingerTree<T, S>, FingerTree.NonEmptyFingerTree<T, S>>> prependLte
(FingerTree<T, S> left) (package private) final FingerTree.NonEmptyFingerTree
<T, S> prependTree
(FingerTree<T, S> left) Tuple3
<FingerTree<T, S>, Tuple2<T, Integer>, FingerTree<T, S>> Tuple3
<FingerTree<T, S>, Tuple2<T, Integer>, FingerTree<T, S>> split
(ToIntFunction<? super S> metric, int position) Tuple3
<FingerTree<T, S>, T, FingerTree<T, S>> splitAt
(int leaf) Methods inherited from class org.reactfx.util.FingerTree
append, asList, empty, empty, fold, foldBetween, foldBetween, foldBetween0, foldBetween0, get, get, getData, getDepth, getLeaf, getLeaf0, getLeafCount, getSummary, getSummaryBetween, getSummaryBetween, getSummaryBetween0, getSummaryBetween0, getSummaryOpt, insertLeaf, isEmpty, leaf, measure, mkTree, mkTree, prepend, removeLeafs, split, split0, updateLeaf, updateLeaf0
-
Constructor Details
-
NonEmptyFingerTree
-
-
Method Details
-
caseEmpty
- Specified by:
caseEmpty
in classFingerTree<T,
S>
-
getSummary
-
locate
- Overrides:
locate
in classFingerTree<T,
S>
-
locateProgressively
- Overrides:
locateProgressively
in classFingerTree<T,
S>
-
locateRegressively
- Overrides:
locateRegressively
in classFingerTree<T,
S>
-
splitAt
-
split
public Tuple3<FingerTree<T,S>, splitTuple2<T, Integer>, FingerTree<T, S>> (ToIntFunction<? super S> metric, int position) -
split
-
join
- Specified by:
join
in classFingerTree<T,
S>
-
appendTree
-
prependTree
-
locate0
-
locateProgressively0
-
locateRegressively0
-
appendLte
abstract Either<? extends FingerTree.NonEmptyFingerTree<T,S>, appendLteTuple2<FingerTree.NonEmptyFingerTree<T, S>, FingerTree.NonEmptyFingerTree<T, S>>> (FingerTree<T, S> right) -
prependLte
abstract Either<? extends FingerTree.NonEmptyFingerTree<T,S>, prependLteTuple2<FingerTree.NonEmptyFingerTree<T, S>, FingerTree.NonEmptyFingerTree<T, S>>> (FingerTree<T, S> left)
-