Package eu.bandm.tools.ops
Class Tuples
java.lang.Object
eu.bandm.tools.ops.Tuples
Library of methods operating on the different tuple classes.
-
Method Summary
Modifier and TypeMethodDescriptionget0()
get1()
get2()
get3()
static Comparator<Tuple0>
lexical()
static <A0> Comparator<A0>
lexical
(Comparator<A0> c0) static <A0,
A1> Comparator<Tuple2<A0, A1>> lexical
(Comparator<A0> c0, Comparator<A1> c1) static <A0,
A1, A2> Comparator<Tuple3<A0, A1, A2>> lexical
(Comparator<A0> c0, Comparator<A1> c1, Comparator<A2> c2) static Comparator<Tuple0>
lexical0()
static <A0> Comparator<A0>
lexical1
(Comparator<A0> c0) static <A0,
A1> Comparator<Tuple2<A0, A1>> lexical2
(Comparator<A0> c0, Comparator<A1> c1) static <A0,
A1, A2> Comparator<Tuple3<A0, A1, A2>> lexical3
(Comparator<A0> c0, Comparator<A1> c1, Comparator<A2> c2) static UnaryOperator<Tuple0>
product()
static UnaryOperator<Tuple0>
product0()
static Tuple0
tuple()
static <A0> A0
tuple
(A0 elem0) static <A0,
A1> Tuple2<A0, A1> tuple
(A0 elem0, A1 elem1) static <A0,
A1, A2> Tuple3<A0, A1, A2> tuple
(A0 elem0, A1 elem1, A2 elem2) static <A0,
A1, A2, A3>
Tuple4<A0,A1, A2, A3> tuple
(A0 elem0, A1 elem1, A2 elem2, A3 elem3) static Tuple0
tuple0()
static <A0> A0
tuple1
(A0 elem0) static <A0,
A1> BiFunction<@Opt A0, @Opt A1, Tuple2<A0, A1>> tuple2()
static <A0,
A1> Tuple2<A0, A1> tuple2
(A0 elem0, A1 elem1) static <A0,
A1, A2> Tuple3<A0, A1, A2> tuple3
(A0 elem0, A1 elem1, A2 elem2) static <A0,
A1, A2, A3>
Tuple4<A0,A1, A2, A3> tuple4
(A0 elem0, A1 elem1, A2 elem2, A3 elem3) tupling()
tupling
(Function<A, @Opt B0> f0, Function<A, @Opt B1> f1, Function<A, @Opt B2> f2, Function<A, @Opt B3> f3) tupling0()
tupling4
(Function<A, @Opt B0> f0, Function<A, @Opt B1> f1, Function<A, @Opt B2> f2, Function<A, @Opt B3> f3)
-
Method Details
-
get0
-
get1
-
get2
-
get3
-
tuple
-
tuple0
-
tuple
-
tuple1
-
tuple
-
tuple2
-
tuple2
-
tuple
-
tuple3
-
tuple
-
tuple4
-
tupling
-
tupling0
-
tupling
-
tupling1
-
tupling
-
tupling2
-
tupling
-
tupling3
-
tupling
-
tupling4
-
product
-
product0
-
product
-
product1
-
product
-
product2
-
lexical
-
lexical0
-
lexical
-
lexical1
-
lexical
-
lexical2
-
lexical
public static <A0,A1, Comparator<Tuple3<A0,A2> A1, lexicalA2>> (Comparator<A0> c0, Comparator<A1> c1, Comparator<A2> c2) -
lexical3
public static <A0,A1, Comparator<Tuple3<A0,A2> A1, lexical3A2>> (Comparator<A0> c0, Comparator<A1> c1, Comparator<A2> c2)
-