Uses of Class
com.gengoai.tuple.Tuple2
-
Packages that use Tuple2 Package Description com.gengoai.graph.algorithms com.gengoai.math com.gengoai.stream A unified stream interface that can work across Java and Spark streams.com.gengoai.stream.local com.gengoai.tuple Pairs, Triples, Quadruples, and general NTuples -
-
Uses of Tuple2 in com.gengoai.graph.algorithms
Methods in com.gengoai.graph.algorithms that return types with arguments of type Tuple2 Modifier and Type Method Description protected List<Tuple2<V,Edge<V>>>
BreadthFirstSearch. next(Deque<List<Tuple2<V,Edge<V>>>> pathes)
protected List<Tuple2<V,Edge<V>>>
DepthFirstSearch. next(Deque<List<Tuple2<V,Edge<V>>>> pathes)
Method parameters in com.gengoai.graph.algorithms with type arguments of type Tuple2 Modifier and Type Method Description protected void
BreadthFirstSearch. add(Deque<List<Tuple2<V,Edge<V>>>> pathes, List<Tuple2<V,Edge<V>>> path)
protected void
BreadthFirstSearch. add(Deque<List<Tuple2<V,Edge<V>>>> pathes, List<Tuple2<V,Edge<V>>> path)
protected void
DepthFirstSearch. add(Deque<List<Tuple2<V,Edge<V>>>> pathes, List<Tuple2<V,Edge<V>>> path)
protected void
DepthFirstSearch. add(Deque<List<Tuple2<V,Edge<V>>>> pathes, List<Tuple2<V,Edge<V>>> path)
protected List<Tuple2<V,Edge<V>>>
BreadthFirstSearch. next(Deque<List<Tuple2<V,Edge<V>>>> pathes)
protected List<Tuple2<V,Edge<V>>>
DepthFirstSearch. next(Deque<List<Tuple2<V,Edge<V>>>> pathes)
-
Uses of Tuple2 in com.gengoai.math
Methods in com.gengoai.math that return Tuple2 Modifier and Type Method Description Tuple2<Integer,Double>
Optimum. optimum(double[] array)
Select the best index and value from the given array. -
Uses of Tuple2 in com.gengoai.stream
Methods in com.gengoai.stream with parameters of type Tuple2 Modifier and Type Method Description <K,V>
MPairStream<K,V>StreamingContext. pairStream(Tuple2<? extends K,? extends V>... tuples)
Creates a new pair stream from the given array of tuples. -
Uses of Tuple2 in com.gengoai.stream.local
Methods in com.gengoai.stream.local that return types with arguments of type Tuple2 Modifier and Type Method Description LocalMAccumulator<Tuple2<K,V>,Map<K,V>>
LocalMMapAccumulator. copy()
LocalMAccumulator<Tuple2<K1,K2>,MultiCounter<K1,K2>>
LocalMMultiCounterAccumulator. copy()
Methods in com.gengoai.stream.local with parameters of type Tuple2 Modifier and Type Method Description void
LocalMMapAccumulator. add(Tuple2<K,V> objects)
void
LocalMMultiCounterAccumulator. add(Tuple2<K1,K2> objects)
Method parameters in com.gengoai.stream.local with type arguments of type Tuple2 Modifier and Type Method Description void
LocalMMapAccumulator. merge(MAccumulator<Tuple2<K,V>,Map<K,V>> other)
void
LocalMMultiCounterAccumulator. merge(MAccumulator<Tuple2<K1,K2>,MultiCounter<K1,K2>> other)
-
Uses of Tuple2 in com.gengoai.tuple
Methods in com.gengoai.tuple that return Tuple2 Modifier and Type Method Description static <F,S>
Tuple2<F,S>Tuples. $(F first, S second)
Creates a pair.<T> Tuple2<T,V1>
Tuple1. appendLeft(T object)
<T> Tuple2<V1,T>
Tuple1. appendRight(T object)
Tuple2<K,V>
Tuple2. copy()
static <K,V>
Tuple2<K,V>Tuple2. of(K key, V value)
Of tuple 2.Tuple2<B,C>
Tuple3. shiftLeft()
Tuple2<A,B>
Tuple3. shiftRight()
-