| Modifier and Type | Field and Description |
|---|---|
| public static final int | MAX_ARITY
The maximum arity of an Tuple. |
| public static final long |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public static Tuple0 | |
| public static < Type of first component (entry key) T1, Type of second component (entry value) T2> Tuple2 | |
| public static int | Returns: the same result asObjects#hashCode(Object)the 1st value to hash o1)Return the order-dependent hash of the one given value. |
| public static int | Returns: the same result asObjects#hash(Object.the 1st value to hash o1, Object the 2nd value to hash o2)Return the order-dependent hash of the two given values. |
| public static int | Returns: the same result asObjects#hash(Object.the 1st value to hash o1, Object the 2nd value to hash o2, Object the 3rd value to hash o3)Return the order-dependent hash of the three given values. |
| public static int | |
| public static int | |
| public static int | Returns: the same result asObjects#hash(Object.the 1st value to hash o1, Object the 2nd value to hash o2, Object the 3rd value to hash o3, Object the 4th value to hash o4, Object the 5th value to hash o5, Object the 6th value to hash o6)Return the order-dependent hash of the 6 given values. |
| public static int | Returns: the same result asObjects#hash(Object.the 1st value to hash o1, Object the 2nd value to hash o2, Object the 3rd value to hash o3, Object the 4th value to hash o4, Object the 5th value to hash o5, Object the 6th value to hash o6, Object the 7th value to hash o7)Return the order-dependent hash of the 7 given values. |
| public static int | Returns: the same result asObjects#hash(Object.the 1st value to hash o1, Object the 2nd value to hash o2, Object the 3rd value to hash o3, Object the 4th value to hash o4, Object the 5th value to hash o5, Object the 6th value to hash o6, Object the 7th value to hash o7, Object the 8th value to hash o8)Return the order-dependent hash of the 8 given values. |
| public static < the 1st component type T1> Tuple1 | |
| public static < the 1st component type T1, the 2nd component type T2> Tuple2 | |
| public static < the 1st component type T1, the 2nd component type T2, the 3rd component type T3> Tuple3 | |
| public static < the 1st component type T1, the 2nd component type T2, the 3rd component type T3, the 4th component type T4> Tuple4 | |
| public static < the 1st component type T1, the 2nd component type T2, the 3rd component type T3, the 4th component type T4, the 5th component type T5> Tuple5 | |
| public static < the 1st component type T1, the 2nd component type T2, the 3rd component type T3, the 4th component type T4, the 5th component type T5, the 6th component type T6> Tuple6 | |
| public static < the 1st component type T1, the 2nd component type T2, the 3rd component type T3, the 4th component type T4, the 5th component type T5, the 6th component type T6, the 7th component type T7> Tuple7 | |
| public static < the 1st component type T1, the 2nd component type T2, the 3rd component type T3, the 4th component type T4, the 5th component type T5, the 6th component type T6, the 7th component type T7, the 8th component type T8> Tuple8 | |
| public static < type of the 1st element T1> Tuple1 | |
| public static < type of the 1st element T1, type of the 2nd element T2> Tuple2 | Returns: a tuple of two elements.the 1st element t1, T2 the 2nd element t2)Creates a tuple of two elements. |
| public static < type of the 1st element T1, type of the 2nd element T2, type of the 3rd element T3> Tuple3 | Returns: a tuple of three elements.the 1st element t1, T2 the 2nd element t2, T3 the 3rd element t3)Creates a tuple of three elements. |
| public static < type of the 1st element T1, type of the 2nd element T2, type of the 3rd element T3, type of the 4th element T4> Tuple4 | Returns: a tuple of 4 elements.the 1st element t1, T2 the 2nd element t2, T3 the 3rd element t3, T4 the 4th element t4)Creates a tuple of 4 elements. |
| public static < type of the 1st element T1, type of the 2nd element T2, type of the 3rd element T3, type of the 4th element T4, type of the 5th element T5> Tuple5 | Returns: a tuple of 5 elements.the 1st element t1, T2 the 2nd element t2, T3 the 3rd element t3, T4 the 4th element t4, T5 the 5th element t5)Creates a tuple of 5 elements. |
| public static < type of the 1st element T1, type of the 2nd element T2, type of the 3rd element T3, type of the 4th element T4, type of the 5th element T5, type of the 6th element T6> Tuple6 | Returns: a tuple of 6 elements.the 1st element t1, T2 the 2nd element t2, T3 the 3rd element t3, T4 the 4th element t4, T5 the 5th element t5, T6 the 6th element t6)Creates a tuple of 6 elements. |
| public static < type of the 1st element T1, type of the 2nd element T2, type of the 3rd element T3, type of the 4th element T4, type of the 5th element T5, type of the 6th element T6, type of the 7th element T7> Tuple7 | Returns: a tuple of 7 elements.the 1st element t1, T2 the 2nd element t2, T3 the 3rd element t3, T4 the 4th element t4, T5 the 5th element t5, T6 the 6th element t6, T7 the 7th element t7)Creates a tuple of 7 elements. |
| public static < type of the 1st element T1, type of the 2nd element T2, type of the 3rd element T3, type of the 4th element T4, type of the 5th element T5, type of the 6th element T6, type of the 7th element T7, type of the 8th element T8> Tuple8 | Returns: a tuple of 8 elements.the 1st element t1, T2 the 2nd element t2, T3 the 3rd element t3, T4 the 4th element t4, T5 the 5th element t5, T6 the 6th element t6, T7 the 7th element t7, T8 the 8th element t8)Creates a tuple of 8 elements. |
| public static < 1st component type T1> Tuple1 | |
| public static < 1st component type T1, 2nd component type T2> Tuple2 | |
| public static < 1st component type T1, 2nd component type T2, 3rd component type T3> Tuple3 | |
| public static < 1st component type T1, 2nd component type T2, 3rd component type T3, 4th component type T4> Tuple4 | |
| public static < 1st component type T1, 2nd component type T2, 3rd component type T3, 4th component type T4, 5th component type T5> Tuple5 | |
| public static < 1st component type T1, 2nd component type T2, 3rd component type T3, 4th component type T4, 5th component type T5, 6th component type T6> Tuple6 | |
| public static < 1st component type T1, 2nd component type T2, 3rd component type T3, 4th component type T4, 5th component type T5, 6th component type T6, 7th component type T7> Tuple7 | |
| public static < 1st component type T1, 2nd component type T2, 3rd component type T3, 4th component type T4, 5th component type T5, 6th component type T6, 7th component type T7, 8th component type T8> Tuple8 | |
| public Seq |
| MAX_ARITY | back to summary |
|---|---|
| public static final int MAX_ARITY The maximum arity of an Tuple. Note This value might be changed in a future version of Vavr. So it is recommended to use this constant instead of hardcoding the current maximum arity. | |
| serialVersionUID | back to summary |
|---|---|
| public static final long serialVersionUID | |
| arity | back to summary |
|---|---|
| public int arity() Returns the number of elements of this tuple.
| |
| empty | back to summary |
|---|---|
| public static Tuple0 empty() Creates the empty tuple.
| |
| fromEntry | back to summary |
|---|---|
| public static <T1, T2> Tuple2 Creates a | |
| hash | back to summary |
|---|---|
| public static int hash(Object o1) Return the order-dependent hash of the one given value.
| |
| hash | back to summary |
|---|---|
| public static int hash(Object o1, Object o2) Return the order-dependent hash of the two given values.
| |
| hash | back to summary |
|---|---|
| public static int hash(Object o1, Object o2, Object o3) Return the order-dependent hash of the three given values.
| |
| hash | back to summary |
|---|---|
| public static int hash(Object o1, Object o2, Object o3, Object o4) Return the order-dependent hash of the 4 given values.
| |
| hash | back to summary |
|---|---|
| public static int hash(Object o1, Object o2, Object o3, Object o4, Object o5) Return the order-dependent hash of the 5 given values. | |
| hash | back to summary |
|---|---|
| public static int hash(Object o1, Object o2, Object o3, Object o4, Object o5, Object o6) Return the order-dependent hash of the 6 given values. | |
| hash | back to summary |
|---|---|
| public static int hash(Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Object o7) Return the order-dependent hash of the 7 given values. | |
| hash | back to summary |
|---|---|
| public static int hash(Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Object o7, Object o8) Return the order-dependent hash of the 8 given values.
| |
| narrow | back to summary |
|---|---|
| public static <T1> Tuple1 Narrows a widened
| |
| narrow | back to summary |
|---|---|
| public static <T1, T2> Tuple2 Narrows a widened
| |
| narrow | back to summary |
|---|---|
| public static <T1, T2, T3> Tuple3 Narrows a widened
| |
| narrow | back to summary |
|---|---|
| public static <T1, T2, T3, T4> Tuple4 Narrows a widened
| |
| narrow | back to summary |
|---|---|
| public static <T1, T2, T3, T4, T5> Tuple5 Narrows a widened
| |
| narrow | back to summary |
|---|---|
| public static <T1, T2, T3, T4, T5, T6> Tuple6 Narrows a widened
| |
| narrow | back to summary |
|---|---|
| public static <T1, T2, T3, T4, T5, T6, T7> Tuple7 Narrows a widened
| |
| narrow | back to summary |
|---|---|
| public static <T1, T2, T3, T4, T5, T6, T7, T8> Tuple8 Narrows a widened
| |
| of | back to summary |
|---|---|
| public static <T1> Tuple1 Creates a tuple of one element.
| |
| of | back to summary |
|---|---|
| public static <T1, T2> Tuple2 Creates a tuple of two elements.
| |
| of | back to summary |
|---|---|
| public static <T1, T2, T3> Tuple3 Creates a tuple of three elements.
| |
| of | back to summary |
|---|---|
| public static <T1, T2, T3, T4> Tuple4 Creates a tuple of 4 elements.
| |
| of | back to summary |
|---|---|
| public static <T1, T2, T3, T4, T5> Tuple5 Creates a tuple of 5 elements.
| |
| of | back to summary |
|---|---|
| public static <T1, T2, T3, T4, T5, T6> Tuple6 Creates a tuple of 6 elements.
| |
| of | back to summary |
|---|---|
| public static <T1, T2, T3, T4, T5, T6, T7> Tuple7 Creates a tuple of 7 elements.
| |
| of | back to summary |
|---|---|
| public static <T1, T2, T3, T4, T5, T6, T7, T8> Tuple8 Creates a tuple of 8 elements.
| |
| sequence1 | back to summary |
|---|---|
| public static <T1> Tuple1 Turns a sequence of | |
| sequence2 | back to summary |
|---|---|
| public static <T1, T2> Tuple2 Turns a sequence of | |
| sequence3 | back to summary |
|---|---|
| public static <T1, T2, T3> Tuple3 Turns a sequence of | |
| sequence4 | back to summary |
|---|---|
| public static <T1, T2, T3, T4> Tuple4 Turns a sequence of | |
| sequence5 | back to summary |
|---|---|
| public static <T1, T2, T3, T4, T5> Tuple5 Turns a sequence of | |
| sequence6 | back to summary |
|---|---|
| public static <T1, T2, T3, T4, T5, T6> Tuple6 Turns a sequence of | |
| sequence7 | back to summary |
|---|---|
| public static <T1, T2, T3, T4, T5, T6, T7> Tuple7 Turns a sequence of
| |
| sequence8 | back to summary |
|---|---|
| public static <T1, T2, T3, T4, T5, T6, T7, T8> Tuple8 Turns a sequence of
| |
| toSeq | back to summary |
|---|---|
| public Seq Converts this tuple to a sequence.
| |