_1
- The first element type_2
- The second element type_3
- The third element typepublic interface Product3<_1,_2,_3> extends Product2<_1,_2>
Modifier and Type | Method and Description |
---|---|
_3 |
_3()
Retrieve the third element.
|
default <R> R |
into(Fn3<? super _1,? super _2,? super _3,? extends R> fn)
Destructure and apply this product to a function accepting the same number of arguments as this product's
slots.
|
default Product3<_2,_1,_3> |
invert()
Rotate the first two slots of this product.
|
static <_1,_2,_3> Product3<_1,_2,_3> |
product(_1 _1,
_2 _2,
_3 _3)
Static factory method for creating a generic
Product3 . |
default Product3<_2,_3,_1> |
rotateL3()
Rotate the first three values of this product one slot to the left.
|
default Product3<_3,_1,_2> |
rotateR3()
Rotate the first three values of this product one slot to the right.
|
_1, _2, getKey, getValue, into, product, setValue
comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCode
_3 _3()
default <R> R into(Fn3<? super _1,? super _2,? super _3,? extends R> fn)
R
- the return type of the functionfn
- the function to applydefault Product3<_2,_3,_1> rotateL3()
default Product3<_3,_1,_2> rotateR3()
default Product3<_2,_1,_3> invert()
Product2
static <_1,_2,_3> Product3<_1,_2,_3> product(_1 _1, _2 _2, _3 _3)
Product3
._1
- the first slot type_2
- the second slot type_3
- the third slot type_1
- the first slot_2
- the second slot_3
- the third slotProduct3