Uses of Class
com.gengoai.tuple.Tuple
-
Packages that use Tuple Package Description com.gengoai.collection Contains collections useful for Data Science and continence methods for creating, wrapping, writing, and reading of existing collection classes.com.gengoai.tuple Pairs, Triples, Quadruples, and general NTuples -
-
Uses of Tuple in com.gengoai.collection
Methods in com.gengoai.collection that return types with arguments of type Tuple Modifier and Type Method Description static <T> Iterable<Tuple>
Lists. combinations(@NonNull List<T> list, int size)
Generates all combinations of the given size from the items in the list. -
Uses of Tuple in com.gengoai.tuple
Subclasses of Tuple in com.gengoai.tuple Modifier and Type Class Description class
NTuple
Generic N-degree tuple.class
Tuple0
A tuple of order 0, i.e.class
Tuple1<V1>
A tuple of degree one.class
Tuple2<K,V>
The type Tuple 2.class
Tuple3<A,B,C>
The type Tuple 3.class
Tuple4<A,B,C,D>
The type Tuple 4.Methods in com.gengoai.tuple that return Tuple Modifier and Type Method Description static Tuple
Tuples. $(@NonNull Object... items)
Creates a tuple from the given array of itemsstatic Tuple
Tuples. $(List<?> list)
Creates a tuple from a list of items.<T> Tuple
Tuple. appendLeft(T object)
Appends an item the beginning of the tuple resulting in a new tuple of degree + 1<T> Tuple
Tuple. appendRight(T object)
Appends an item the end of the tuple resulting in a new tuple of degree + 1Tuple
Tuple3. copy()
Tuple
Tuple. mapValues(@NonNull Function<Object,?> function)
Maps the values of the tuple to another data typeTuple
Tuple0. mapValues(@NonNull Function<Object,?> function)
Tuple
Tuple. shiftLeft()
Shifts the first element of the tuple resulting in a tuple of degree - 1.Tuple
Tuple. shiftRight()
Shifts the last element of the tuple resulting in a tuple of degree - 1.Tuple
Tuple. slice(int start, int end)
Takes a slice of the tuple from an inclusive start to an exclusive end index.Methods in com.gengoai.tuple with parameters of type Tuple Modifier and Type Method Description int
Tuple. compareTo(Tuple o)
Method parameters in com.gengoai.tuple with type arguments of type Tuple Modifier and Type Method Description <R> R
Tuple. map(@NonNull Function<Tuple,R> function)
Maps the tuple to another a data type.
-