T1 - type of first elementT2 - type of second elementT3 - type of third elementpublic class Tuple3<T1,T2,T3> extends ITuple3.Base<T1,T2,T3> implements java.io.Serializable
Indexable.viewTuple(ITuple3) will come to help.
Note that this class is automatically created by tools.TupleClassCreator (not yet public).NTuple3,
Serialized FormITuple3.Base<T1,T2,T3>| Constructor and Description |
|---|
Tuple3(T1 e1,
T2 e2,
T3 e3)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
T1 |
_1()
Get the first element.
|
Tuple2<T1,T2> |
_12()
Create a new 2-tuple from this one where the elements are ordered: 1st, 2nd.
|
Tuple2<T1,T3> |
_13()
Create a new 2-tuple from this one where the elements are ordered: 1st, 3rd.
|
Tuple3<T1,T3,T2> |
_132()
Create a new 3-tuple from this one where the elements are ordered: 1st, 3rd, 2nd.
|
T2 |
_2()
Get the second element.
|
Tuple2<T2,T1> |
_21()
Create a new 2-tuple from this one where the elements are ordered: 2nd, 1st.
|
Tuple3<T2,T1,T3> |
_213()
Create a new 3-tuple from this one where the elements are ordered: 2nd, 1st, 3rd.
|
Tuple2<T2,T3> |
_23()
Create a new 2-tuple from this one where the elements are ordered: 2nd, 3rd.
|
Tuple3<T2,T3,T1> |
_231()
Create a new 3-tuple from this one where the elements are ordered: 2nd, 3rd, 1st.
|
T3 |
_3()
Get the third element.
|
Tuple2<T3,T1> |
_31()
Create a new 2-tuple from this one where the elements are ordered: 3rd, 1st.
|
Tuple3<T3,T1,T2> |
_312()
Create a new 3-tuple from this one where the elements are ordered: 3rd, 1st, 2nd.
|
Tuple2<T3,T2> |
_32()
Create a new 2-tuple from this one where the elements are ordered: 3rd, 2nd.
|
Tuple3<T3,T2,T1> |
_321()
Create a new 3-tuple from this one where the elements are ordered: 3rd, 2nd, 1st.
|
Tuple3<T1,T2,T3> |
frozenNotNull()
Convert this into an object of a concrete tuple implementation.
|
<T> Tuple4<T,T1,T2,T3> |
i1(T e1)
Create a 4-tuple from this 3-tuple by inserting a new first element.
|
<T> Tuple4<T1,T,T2,T3> |
i2(T e2)
Create a 4-tuple from this 3-tuple by inserting a new second element.
|
<T> Tuple4<T1,T2,T,T3> |
i3(T e3)
Create a 4-tuple from this 3-tuple by inserting a new third element.
|
<T> Tuple4<T1,T2,T3,T> |
i4(T e4)
Create a 4-tuple from this 3-tuple by adding a new fourth element.
|
java.lang.String |
toString() |
<E1> Tuple3<E1,T2,T3> |
x1(E1 e1)
Create a 3-tuple from this one where the first element is exchanged.
|
<E1,E2> Tuple3<E1,E2,T3> |
x12(E1 e1,
E2 e2)
Create a 3-tuple from this one where the first and second elements are exchanged.
|
<E1,E3> Tuple3<E1,T2,E3> |
x13(E1 e1,
E3 e3)
Create a 3-tuple from this one where the first and third elements are exchanged.
|
<E2> Tuple3<T1,E2,T3> |
x2(E2 e2)
Create a 3-tuple from this one where the second element is exchanged.
|
<E2,E3> Tuple3<T1,E2,E3> |
x23(E2 e2,
E3 e3)
Create a 3-tuple from this one where the second and third elements are exchanged.
|
<E3> Tuple3<T1,T2,E3> |
x3(E3 e3)
Create a 3-tuple from this one where the third element is exchanged.
|
asBase, equals, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitconcat1, concat2, concat3, concat4, concat5, concat6, concat7, concat8, concatPred1, concatPred2, concatPred3, concatPred4, concatPred5, concatPred6, concatPred7, concatPred8, concatProc1, concatProc2, concatProc3, concatProc4, concatProc5, concatProc6, concatProc7, concatProc8, equals, frozen, hash, invoke, sendTo, testBy, toString, toString, view@NotNull public Tuple3<T1,T3,T2> _132()
ITuple3@NotNull public Tuple3<T3,T1,T2> _312()
ITuple3@NotNull public Tuple3<T3,T2,T1> _321()
ITuple3@NotNull public Tuple3<T2,T3,T1> _231()
ITuple3@NotNull public Tuple3<T2,T1,T3> _213()
ITuple3@NotNull public Tuple2<T1,T2> _12()
ITuple3@NotNull public Tuple2<T2,T1> _21()
ITuple3@NotNull public Tuple2<T1,T3> _13()
ITuple3@NotNull public Tuple2<T3,T1> _31()
ITuple3@NotNull public Tuple2<T2,T3> _23()
ITuple3@NotNull public Tuple2<T3,T2> _32()
ITuple3@NotNull public Tuple3<T1,T2,T3> frozenNotNull()
ITuple3null
elements, but if this interface has null elements this method
will throw a NullPointerException.
See ITuple3.frozen() for a method which will not throw exceptions.
frozenNotNull in interface ITuple3<T1,T2,T3>@NotNull public <E1> Tuple3<E1,T2,T3> x1(@NotNull E1 e1)
E1 - type of exchanged first elemente1 - new first element@NotNull public <E2> Tuple3<T1,E2,T3> x2(@NotNull E2 e2)
E2 - type of exchanged second elemente2 - new second element@NotNull public <E3> Tuple3<T1,T2,E3> x3(@NotNull E3 e3)
E3 - type of exchanged third elemente3 - new third element@NotNull public <E1,E2> Tuple3<E1,E2,T3> x12(@NotNull E1 e1, @NotNull E2 e2)
E1 - type of exchanged first elementE2 - type of exchanged second elemente1 - new first elemente2 - new second element@NotNull public <E1,E3> Tuple3<E1,T2,E3> x13(@NotNull E1 e1, @NotNull E3 e3)
E1 - type of exchanged first elementE3 - type of exchanged third elemente1 - new first elemente3 - new third element@NotNull public <E2,E3> Tuple3<T1,E2,E3> x23(@NotNull E2 e2, @NotNull E3 e3)
E2 - type of exchanged second elementE3 - type of exchanged third elemente2 - new second elemente3 - new third element@NotNull public <T> Tuple4<T,T1,T2,T3> i1(@NotNull T e1)
T - new element typee1 - new element@NotNull public <T> Tuple4<T1,T,T2,T3> i2(@NotNull T e2)
T - new element typee2 - new element@NotNull public <T> Tuple4<T1,T2,T,T3> i3(@NotNull T e3)
T - new element typee3 - new element@NotNull public <T> Tuple4<T1,T2,T3,T> i4(@NotNull T e4)
T - new element typee4 - new element