Uses of Interface
org.reactfx.util.Either
-
Packages that use Either Package Description org.reactfx org.reactfx.util -
-
Uses of Either in org.reactfx
Methods in org.reactfx that return types with arguments of type Either Modifier and Type Method Description default <U> EventStream<Either<T,U>>
EventStream. or(EventStream<? extends U> right)
Returns an event stream that emits all the events emitted from either this stream or theright
stream.default EventStream<Either<T,T>>
EventStream. splitBy(java.util.function.Predicate<? super T> test)
Returns a new event stream that, for evente
emitted from this stream, emitsleft(e)
ife
passes the given test, and emitsright(e)
ife
does not pass the test.Method parameters in org.reactfx with type arguments of type Either Modifier and Type Method Description static <L,R>
Tuple2<EventStream<L>,EventStream<R>>EventStreams. fork(EventStream<? extends Either<L,R>> stream)
-
Uses of Either in org.reactfx.util
Subinterfaces of Either in org.reactfx.util Modifier and Type Interface Description interface
Try<T>
Classes in org.reactfx.util that implement Either Modifier and Type Class Description (package private) class
Failure<T>
(package private) class
Left<L,R>
(package private) class
Right<L,R>
(package private) class
Success<T>
Methods in org.reactfx.util that return Either Modifier and Type Method Description (package private) Either<FingerTree.Branch<T,S>,Tuple2<FingerTree.NonEmptyFingerTree<T,S>,FingerTree.NonEmptyFingerTree<T,S>>>
FingerTree.Branch. appendLte(FingerTree<T,S> suffix)
(package private) Either<FingerTree.Leaf<T,S>,Tuple2<FingerTree.NonEmptyFingerTree<T,S>,FingerTree.NonEmptyFingerTree<T,S>>>
FingerTree.Leaf. appendLte(FingerTree<T,S> right)
(package private) abstract Either<? extends FingerTree.NonEmptyFingerTree<T,S>,Tuple2<FingerTree.NonEmptyFingerTree<T,S>,FingerTree.NonEmptyFingerTree<T,S>>>
FingerTree.NonEmptyFingerTree. appendLte(FingerTree<T,S> right)
abstract Either<FingerTree<T,S>,FingerTree.NonEmptyFingerTree<T,S>>
FingerTree. caseEmpty()
Either<FingerTree<T,S>,FingerTree.NonEmptyFingerTree<T,S>>
FingerTree.Empty. caseEmpty()
Either<FingerTree<T,S>,FingerTree.NonEmptyFingerTree<T,S>>
FingerTree.NonEmptyFingerTree. caseEmpty()
<L2,R2>
Either<L2,R2>Either. flatMap(java.util.function.Function<? super L,Either<L2,R2>> f, java.util.function.Function<? super R,Either<L2,R2>> g)
<L2,R2>
Either<L2,R2>Left. flatMap(java.util.function.Function<? super L,Either<L2,R2>> f, java.util.function.Function<? super R,Either<L2,R2>> g)
<L2,R2>
Either<L2,R2>Right. flatMap(java.util.function.Function<? super L,Either<L2,R2>> f, java.util.function.Function<? super R,Either<L2,R2>> g)
<L2> Either<L2,R>
Either. flatMapLeft(java.util.function.Function<? super L,Either<L2,R>> f)
<L2> Either<L2,R>
Left. flatMapLeft(java.util.function.Function<? super L,Either<L2,R>> f)
<L2> Either<L2,R>
Right. flatMapLeft(java.util.function.Function<? super L,Either<L2,R>> f)
<R2> Either<L,R2>
Either. flatMapRight(java.util.function.Function<? super R,Either<L,R2>> f)
<R2> Either<L,R2>
Left. flatMapRight(java.util.function.Function<? super R,Either<L,R2>> f)
<R2> Either<L,R2>
Right. flatMapRight(java.util.function.Function<? super R,Either<L,R2>> f)
static <L,R>
Either<L,R>Either. left(L l)
static <L,R>
Either<L,R>Either. leftOrDefault(java.util.Optional<L> l, R r)
static <L,R>
Either<L,R>Either. leftOrNull(java.util.Optional<L> l)
<L2,R2>
Either<L2,R2>Either. map(java.util.function.Function<? super L,? extends L2> f, java.util.function.Function<? super R,? extends R2> g)
<L2,R2>
Either<L2,R2>Left. map(java.util.function.Function<? super L,? extends L2> f, java.util.function.Function<? super R,? extends R2> g)
<L2,R2>
Either<L2,R2>Right. map(java.util.function.Function<? super L,? extends L2> f, java.util.function.Function<? super R,? extends R2> g)
<L2> Either<L2,R>
Either. mapLeft(java.util.function.Function<? super L,? extends L2> f)
<L2> Either<L2,R>
Left. mapLeft(java.util.function.Function<? super L,? extends L2> f)
<L2> Either<L2,R>
Right. mapLeft(java.util.function.Function<? super L,? extends L2> f)
<R2> Either<L,R2>
Either. mapRight(java.util.function.Function<? super R,? extends R2> f)
<R2> Either<L,R2>
Left. mapRight(java.util.function.Function<? super R,? extends R2> f)
<R2> Either<L,R2>
Right. mapRight(java.util.function.Function<? super R,? extends R2> f)
(package private) Either<FingerTree.Branch<T,S>,Tuple2<FingerTree.NonEmptyFingerTree<T,S>,FingerTree.NonEmptyFingerTree<T,S>>>
FingerTree.Branch. prependLte(FingerTree<T,S> prefix)
(package private) Either<FingerTree.Leaf<T,S>,Tuple2<FingerTree.NonEmptyFingerTree<T,S>,FingerTree.NonEmptyFingerTree<T,S>>>
FingerTree.Leaf. prependLte(FingerTree<T,S> left)
(package private) abstract Either<? extends FingerTree.NonEmptyFingerTree<T,S>,Tuple2<FingerTree.NonEmptyFingerTree<T,S>,FingerTree.NonEmptyFingerTree<T,S>>>
FingerTree.NonEmptyFingerTree. prependLte(FingerTree<T,S> left)
static <L,R>
Either<L,R>Either. right(R r)
static <L,R>
Either<L,R>Either. rightOrDefault(java.util.Optional<R> r, L l)
static <L,R>
Either<L,R>Either. rightOrNull(java.util.Optional<R> r)
Method parameters in org.reactfx.util with type arguments of type Either Modifier and Type Method Description <L2,R2>
Either<L2,R2>Either. flatMap(java.util.function.Function<? super L,Either<L2,R2>> f, java.util.function.Function<? super R,Either<L2,R2>> g)
<L2,R2>
Either<L2,R2>Left. flatMap(java.util.function.Function<? super L,Either<L2,R2>> f, java.util.function.Function<? super R,Either<L2,R2>> g)
<L2,R2>
Either<L2,R2>Right. flatMap(java.util.function.Function<? super L,Either<L2,R2>> f, java.util.function.Function<? super R,Either<L2,R2>> g)
<L2> Either<L2,R>
Either. flatMapLeft(java.util.function.Function<? super L,Either<L2,R>> f)
<L2> Either<L2,R>
Left. flatMapLeft(java.util.function.Function<? super L,Either<L2,R>> f)
<L2> Either<L2,R>
Right. flatMapLeft(java.util.function.Function<? super L,Either<L2,R>> f)
<R2> Either<L,R2>
Either. flatMapRight(java.util.function.Function<? super R,Either<L,R2>> f)
<R2> Either<L,R2>
Left. flatMapRight(java.util.function.Function<? super R,Either<L,R2>> f)
<R2> Either<L,R2>
Right. flatMapRight(java.util.function.Function<? super R,Either<L,R2>> f)
BiIndex
FingerTree. locate(java.util.function.BiFunction<? super S,java.lang.Integer,Either<java.lang.Integer,java.lang.Integer>> navigate, int position)
BiIndex
FingerTree.NonEmptyFingerTree. locate(java.util.function.BiFunction<? super S,java.lang.Integer,Either<java.lang.Integer,java.lang.Integer>> navigate, int position)
(package private) BiIndex
FingerTree.Branch. locate0(java.util.function.BiFunction<? super S,java.lang.Integer,Either<java.lang.Integer,java.lang.Integer>> navigate, int position)
private BiIndex
FingerTree.Branch. locate0(java.util.function.BiFunction<? super S,java.lang.Integer,Either<java.lang.Integer,java.lang.Integer>> navigate, int position, LL<? extends FingerTree.NonEmptyFingerTree<T,S>> nodes)
(package private) BiIndex
FingerTree.Leaf. locate0(java.util.function.BiFunction<? super S,java.lang.Integer,Either<java.lang.Integer,java.lang.Integer>> navigate, int position)
(package private) abstract BiIndex
FingerTree.NonEmptyFingerTree. locate0(java.util.function.BiFunction<? super S,java.lang.Integer,Either<java.lang.Integer,java.lang.Integer>> navigate, int position)
Tuple3<FingerTree<T,S>,Tuple2<T,java.lang.Integer>,FingerTree<T,S>>
FingerTree.NonEmptyFingerTree. split(java.util.function.BiFunction<? super S,java.lang.Integer,Either<java.lang.Integer,java.lang.Integer>> navigate, int position)
-