Package reactor.util.function
Class Tuple3<T1,T2,T3>
java.lang.Object
reactor.util.function.Tuple2<T1,T2>
reactor.util.function.Tuple3<T1,T2,T3>
- Type Parameters:
T1- The type of the first non-null value held by this tupleT2- The type of the second non-null value held by this tupleT3- The type of the third non-null value held by this tuple
- All Implemented Interfaces:
Serializable,Iterable<Object>
- Direct Known Subclasses:
Tuple4
A tuple that holds three non-null values.
- Author:
- Jon Brisbin, Stephane Maldini
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanget(int index) Get the object at the given index.getT3()Type-safe way to get the third object of thisTuples.inthashCode()Map the 1st part (T1) of thisTuple3into a different value and type, keeping the other parts.Map the 2nd part (T2) of thisTuple3into a different value and type, keeping the other parts.Map the 3rd part (T3) of thisTuple3into a different value and type, keeping the other parts.intsize()Return the number of elements in this Tuples.Object[]toArray()Turn thisTupleinto a plainObject[].Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
getT3
Type-safe way to get the third object of thisTuples.- Returns:
- The third object
-
mapT1
Map the 1st part (T1) of thisTuple3into a different value and type, keeping the other parts. -
mapT2
Map the 2nd part (T2) of thisTuple3into a different value and type, keeping the other parts. -
mapT3
Map the 3rd part (T3) of thisTuple3into a different value and type, keeping the other parts. -
get
Description copied from class:Tuple2Get the object at the given index. -
toArray
Description copied from class:Tuple2Turn thisTupleinto a plainObject[]. The array isn't tied to this Tuple but is a copy. -
equals
-
size
public int size()Description copied from class:Tuple2Return the number of elements in this Tuples. -
hashCode
public int hashCode()
-