Package net.jqwik.api
Schnittstelle Tuple
- Alle Superschnittstellen:
Cloneable
,Serializable
- Alle bekannten Implementierungsklassen:
Tuple.Tuple0
,Tuple.Tuple1
,Tuple.Tuple2
,Tuple.Tuple3
,Tuple.Tuple4
,Tuple.Tuple5
,Tuple.Tuple6
,Tuple.Tuple7
,Tuple.Tuple8
Typed Tuples are very convenient containers to have, especially in the context of
generating dependent values. It's a shame Java does not have them by default.
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypSchnittstelleBeschreibungstatic class
static class
Tuple.Tuple1<T1 extends @Nullable Object>
static class
Tuple.Tuple2<T1 extends @Nullable Object,
T2 extends @Nullable Object> static class
static class
Tuple.Tuple4<T1 extends @Nullable Object,
T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object> static class
Tuple.Tuple5<T1 extends @Nullable Object,
T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object> static class
Tuple.Tuple6<T1 extends @Nullable Object,
T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object, T6 extends @Nullable Object> static class
Tuple.Tuple7<T1 extends @Nullable Object,
T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object, T6 extends @Nullable Object, T7 extends @Nullable Object> static class
Tuple.Tuple8<T1 extends @Nullable Object,
T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object, T6 extends @Nullable Object, T7 extends @Nullable Object, T8 extends @Nullable Object> -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic Tuple.Tuple0
empty()
items()
default String
static Tuple.Tuple0
of()
static <T1 extends @Nullable Object>
Tuple.Tuple1<T1> of
(T1 v1) static <T1 extends @Nullable Object,
T2 extends @Nullable Object>
Tuple.Tuple2<T1, T2> of
(T1 v1, T2 v2) static <T1 extends @Nullable Object,
T2 extends @Nullable Object, T3 extends @Nullable Object>
Tuple.Tuple3<T1, T2, T3> of
(T1 v1, T2 v2, T3 v3) static <T1 extends @Nullable Object,
T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object>
Tuple.Tuple4<T1, T2, T3, T4> of
(T1 v1, T2 v2, T3 v3, T4 v4) static <T1 extends @Nullable Object,
T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object>
Tuple.Tuple5<T1, T2, T3, T4, T5> of
(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5) static <T1 extends @Nullable Object,
T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object, T6 extends @Nullable Object>
Tuple.Tuple6<T1, T2, T3, T4, T5, T6> of
(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6) static <T1 extends @Nullable Object,
T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object, T6 extends @Nullable Object, T7 extends @Nullable Object>
Tuple.Tuple7<T1, T2, T3, T4, T5, T6, T7> of
(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7) static <T1 extends @Nullable Object,
T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object, T6 extends @Nullable Object, T7 extends @Nullable Object, T8 extends @Nullable Object>
Tuple.Tuple8<T1, T2, T3, T4, T5, T6, T7, T8> of
(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8) int
size()
-
Methodendetails
-
size
int size() -
items
-
itemsToString
-
of
-
empty
-
of
-
of
static <T1 extends @Nullable Object,T2 extends @Nullable Object> Tuple.Tuple2<T1,T2> of(T1 v1, T2 v2) -
of
static <T1 extends @Nullable Object,T2 extends @Nullable Object, Tuple.Tuple3<T1,T3 extends @Nullable Object> T2, ofT3> (T1 v1, T2 v2, T3 v3) -
of
static <T1 extends @Nullable Object,T2 extends @Nullable Object, Tuple.Tuple4<T1,T3 extends @Nullable Object, T4 extends @Nullable Object> T2, ofT3, T4> (T1 v1, T2 v2, T3 v3, T4 v4) -
of
-
of
-
of
-
of
static <T1 extends @Nullable Object,T2 extends @Nullable Object, Tuple.Tuple8<T1,T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object, T6 extends @Nullable Object, T7 extends @Nullable Object, T8 extends @Nullable Object> T2, ofT3, T4, T5, T6, T7, T8> (T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8)
-