Uses of Class
org.reactfx.util.Tuple2
-
Packages that use Tuple2 Package Description org.reactfx org.reactfx.util -
-
Uses of Tuple2 in org.reactfx
Methods in org.reactfx that return Tuple2 Modifier and Type Method Description default Tuple2<EventStream<T>,EventStream<T>>
EventStream. fork(java.util.function.Predicate<? super T> test)
Returns two event streams, the first one emitting events of this stream that satisfy the giventest
and the second one emitting events of this stream that do not satisfy the test.static <L,R>
Tuple2<EventStream<L>,EventStream<R>>EventStreams. fork(EventStream<? extends Either<L,R>> stream)
Methods in org.reactfx that return types with arguments of type Tuple2 Modifier and Type Method Description static <A,B>
EventStream<Tuple2<A,B>>EventStreams. combine(EventStream<A> srcA, EventStream<B> srcB)
default <I> EventStream<Tuple2<T,I>>
EventStream. emitBothOnEach(EventStream<I> impulse)
Similar toEventStream.emitOnEach(EventStream)
, but also includes the impulse in the emitted value.static <A,B>
EventStream<Tuple2<A,B>>EventStreams. zip(EventStream<A> srcA, EventStream<B> srcB)
Method parameters in org.reactfx with type arguments of type Tuple2 Modifier and Type Method Description private void
StatefulStream. handleTransmission(java.util.function.Function<S,Tuple2<S,java.util.Optional<O>>> transmission)
<O> StateMachine.StatefulStreamBuilder<S,O>
ObservableStateBuilderOnImpl. transmit(java.util.function.BiFunction<? super S,? super I,Tuple2<S,java.util.Optional<O>>> f)
StateMachine.StatefulStreamBuilder<S,O>
StatefulStreamBuilderOnImpl. transmit(java.util.function.BiFunction<? super S,? super I,Tuple2<S,java.util.Optional<O>>> f)
<O> StateMachine.StatefulStreamBuilder<S,O>
StateMachine.ObservableStateBuilderOn. transmit(java.util.function.BiFunction<? super S,? super I,Tuple2<S,java.util.Optional<O>>> f)
StateMachine.StatefulStreamBuilder<S,O>
StateMachine.StatefulStreamBuilderOn. transmit(java.util.function.BiFunction<? super S,? super I,Tuple2<S,java.util.Optional<O>>> f)
Constructor parameters in org.reactfx with type arguments of type Tuple2 Constructor Description TransmissionBuilder(EventStream<I> input, java.util.function.BiFunction<? super S,? super I,? extends Tuple2<S,java.util.Optional<O>>> f)
-
Uses of Tuple2 in org.reactfx.util
Methods in org.reactfx.util that return Tuple2 Modifier and Type Method Description static Tuple2<java.lang.Integer,java.lang.Integer>
Lists. commonPrefixSuffixLengths(java.util.List<?> l1, java.util.List<?> l2)
Returns the lengths of common prefix and common suffix of two lists.Tuple2<T,BiIndex>
FingerTree. get(java.util.function.ToIntFunction<? super S> metric, int index)
Tuple2<K,A>
AccuMap. peek(AccumulationFacility<V,A> af)
Tuple2<K,A>
EmptyAccuMap. peek(AccumulationFacility<V,A> af)
Tuple2<K,A>
HashAccuMap. peek(AccumulationFacility<V,A> af)
Tuple2<K,A>
IteratorBasedAccuMap. peek(AccumulationFacility<V,A> af)
Tuple2<FingerTree<T,S>,FingerTree<T,S>>
FingerTree. split(int beforeLeaf)
(package private) Tuple2<FingerTree<T,S>,FingerTree<T,S>>
FingerTree.Branch. split0(int beforeLeaf)
private Tuple2<FingerTree<T,S>,FingerTree<T,S>>
FingerTree.Branch. split0(int beforeLeaf, LL<? extends FingerTree<T,S>> nodes)
(package private) Tuple2<FingerTree<T,S>,FingerTree<T,S>>
FingerTree.Empty. split0(int beforeLeaf)
(package private) Tuple2<FingerTree<T,S>,FingerTree<T,S>>
FingerTree.Leaf. split0(int beforeLeaf)
(package private) abstract Tuple2<FingerTree<T,S>,FingerTree<T,S>>
FingerTree. split0(int beforeLeaf)
static <A,B>
Tuple2<A,B>Tuples. t(A a, B b)
Tuple2<A,B>
Tuple2. update1(A a)
Tuple2<A,B>
Tuple2. update2(B b)
Methods in org.reactfx.util that return types with arguments of type Tuple2 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)
(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)
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)
Tuple3<FingerTree<T,S>,Tuple2<T,java.lang.Integer>,FingerTree<T,S>>
FingerTree.NonEmptyFingerTree. split(java.util.function.ToIntFunction<? super S> metric, int position)
Methods in org.reactfx.util with parameters of type Tuple2 Modifier and Type Method Description private FingerTree<SparseList.Segment<E>,SparseList.Stats>
SparseList. join(FingerTree<SparseList.Segment<E>,SparseList.Stats> left, Tuple2<SparseList.Segment<E>,java.lang.Integer> lSuffix, java.util.List<SparseList.Segment<E>> middle, Tuple2<SparseList.Segment<E>,java.lang.Integer> rPrefix, FingerTree<SparseList.Segment<E>,SparseList.Stats> right)
private FingerTree<SparseList.Segment<E>,SparseList.Stats>
SparseList. join(FingerTree<SparseList.Segment<E>,SparseList.Stats> left, Tuple2<SparseList.Segment<E>,java.lang.Integer> lSuffix, SparseList.Segment<E> middle, Tuple2<SparseList.Segment<E>,java.lang.Integer> rPrefix, FingerTree<SparseList.Segment<E>,SparseList.Stats> right)
-