T1 - type of first elementT2 - type of second elementT3 - type of third elementT4 - type of fourth elementpublic class Tuple4<T1,T2,T3,T4> extends ITuple4.Base<T1,T2,T3,T4> implements java.io.Serializable
Indexable.viewTuple(ITuple4) will come to help.
Note that this class is automatically created by tools.TupleClassCreator (not yet public).NTuple4,
Serialized Form| Constructor and Description |
|---|
Tuple4(T1 e1,
T2 e2,
T3 e3,
T4 e4)
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.
|
Tuple3<T1,T2,T3> |
_123()
Create a new 3-tuple from this one where the elements are ordered: 1st, 2nd, 3rd.
|
Tuple3<T1,T2,T4> |
_124()
Create a new 3-tuple from this one where the elements are ordered: 1st, 2nd, 4th.
|
Tuple4<T1,T2,T4,T3> |
_1243()
Create a new 4-tuple from this one where the elements are ordered: 1st, 2nd, 4th, 3rd.
|
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.
|
Tuple4<T1,T3,T2,T4> |
_1324()
Create a new 4-tuple from this one where the elements are ordered: 1st, 3rd, 2nd, 4th.
|
Tuple3<T1,T3,T4> |
_134()
Create a new 3-tuple from this one where the elements are ordered: 1st, 3rd, 4th.
|
Tuple4<T1,T3,T4,T2> |
_1342()
Create a new 4-tuple from this one where the elements are ordered: 1st, 3rd, 4th, 2nd.
|
Tuple2<T1,T4> |
_14()
Create a new 2-tuple from this one where the elements are ordered: 1st, 4th.
|
Tuple3<T1,T4,T2> |
_142()
Create a new 3-tuple from this one where the elements are ordered: 1st, 4th, 2nd.
|
Tuple4<T1,T4,T2,T3> |
_1423()
Create a new 4-tuple from this one where the elements are ordered: 1st, 4th, 2nd, 3rd.
|
Tuple3<T1,T4,T3> |
_143()
Create a new 3-tuple from this one where the elements are ordered: 1st, 4th, 3rd.
|
Tuple4<T1,T4,T3,T2> |
_1432()
Create a new 4-tuple from this one where the elements are ordered: 1st, 4th, 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.
|
Tuple4<T2,T1,T3,T4> |
_2134()
Create a new 4-tuple from this one where the elements are ordered: 2nd, 1st, 3rd, 4th.
|
Tuple3<T2,T1,T4> |
_214()
Create a new 3-tuple from this one where the elements are ordered: 2nd, 1st, 4th.
|
Tuple4<T2,T1,T4,T3> |
_2143()
Create a new 4-tuple from this one where the elements are ordered: 2nd, 1st, 4th, 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.
|
Tuple4<T2,T3,T1,T4> |
_2314()
Create a new 4-tuple from this one where the elements are ordered: 2nd, 3rd, 1st, 4th.
|
Tuple3<T2,T3,T4> |
_234()
Create a new 3-tuple from this one where the elements are ordered: 2nd, 3rd, 4th.
|
Tuple4<T2,T3,T4,T1> |
_2341()
Create a new 4-tuple from this one where the elements are ordered: 2nd, 3rd, 4th, 1st.
|
Tuple2<T2,T4> |
_24()
Create a new 2-tuple from this one where the elements are ordered: 2nd, 4th.
|
Tuple3<T2,T4,T1> |
_241()
Create a new 3-tuple from this one where the elements are ordered: 2nd, 4th, 1st.
|
Tuple4<T2,T4,T1,T3> |
_2413()
Create a new 4-tuple from this one where the elements are ordered: 2nd, 4th, 1st, 3rd.
|
Tuple3<T2,T4,T3> |
_243()
Create a new 3-tuple from this one where the elements are ordered: 2nd, 4th, 3rd.
|
Tuple4<T2,T4,T3,T1> |
_2431()
Create a new 4-tuple from this one where the elements are ordered: 2nd, 4th, 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.
|
Tuple4<T3,T1,T2,T4> |
_3124()
Create a new 4-tuple from this one where the elements are ordered: 3rd, 1st, 2nd, 4th.
|
Tuple3<T3,T1,T4> |
_314()
Create a new 3-tuple from this one where the elements are ordered: 3rd, 1st, 4th.
|
Tuple4<T3,T1,T4,T2> |
_3142()
Create a new 4-tuple from this one where the elements are ordered: 3rd, 1st, 4th, 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.
|
Tuple4<T3,T2,T1,T4> |
_3214()
Create a new 4-tuple from this one where the elements are ordered: 3rd, 2nd, 1st, 4th.
|
Tuple3<T3,T2,T4> |
_324()
Create a new 3-tuple from this one where the elements are ordered: 3rd, 2nd, 4th.
|
Tuple4<T3,T2,T4,T1> |
_3241()
Create a new 4-tuple from this one where the elements are ordered: 3rd, 2nd, 4th, 1st.
|
Tuple2<T3,T4> |
_34()
Create a new 2-tuple from this one where the elements are ordered: 3rd, 4th.
|
Tuple3<T3,T4,T1> |
_341()
Create a new 3-tuple from this one where the elements are ordered: 3rd, 4th, 1st.
|
Tuple4<T3,T4,T1,T2> |
_3412()
Create a new 4-tuple from this one where the elements are ordered: 3rd, 4th, 1st, 2nd.
|
Tuple3<T3,T4,T2> |
_342()
Create a new 3-tuple from this one where the elements are ordered: 3rd, 4th, 2nd.
|
Tuple4<T3,T4,T2,T1> |
_3421()
Create a new 4-tuple from this one where the elements are ordered: 3rd, 4th, 2nd, 1st.
|
T4 |
_4()
Get the fourth element.
|
Tuple2<T4,T1> |
_41()
Create a new 2-tuple from this one where the elements are ordered: 4th, 1st.
|
Tuple3<T4,T1,T2> |
_412()
Create a new 3-tuple from this one where the elements are ordered: 4th, 1st, 2nd.
|
Tuple4<T4,T1,T2,T3> |
_4123()
Create a new 4-tuple from this one where the elements are ordered: 4th, 1st, 2nd, 3rd.
|
Tuple3<T4,T1,T3> |
_413()
Create a new 3-tuple from this one where the elements are ordered: 4th, 1st, 3rd.
|
Tuple4<T4,T1,T3,T2> |
_4132()
Create a new 4-tuple from this one where the elements are ordered: 4th, 1st, 3rd, 2nd.
|
Tuple2<T4,T2> |
_42()
Create a new 2-tuple from this one where the elements are ordered: 4th, 2nd.
|
Tuple3<T4,T2,T1> |
_421()
Create a new 3-tuple from this one where the elements are ordered: 4th, 2nd, 1st.
|
Tuple4<T4,T2,T1,T3> |
_4213()
Create a new 4-tuple from this one where the elements are ordered: 4th, 2nd, 1st, 3rd.
|
Tuple3<T4,T2,T3> |
_423()
Create a new 3-tuple from this one where the elements are ordered: 4th, 2nd, 3rd.
|
Tuple4<T4,T2,T3,T1> |
_4231()
Create a new 4-tuple from this one where the elements are ordered: 4th, 2nd, 3rd, 1st.
|
Tuple2<T4,T3> |
_43()
Create a new 2-tuple from this one where the elements are ordered: 4th, 3rd.
|
Tuple3<T4,T3,T1> |
_431()
Create a new 3-tuple from this one where the elements are ordered: 4th, 3rd, 1st.
|
Tuple4<T4,T3,T1,T2> |
_4312()
Create a new 4-tuple from this one where the elements are ordered: 4th, 3rd, 1st, 2nd.
|
Tuple3<T4,T3,T2> |
_432()
Create a new 3-tuple from this one where the elements are ordered: 4th, 3rd, 2nd.
|
Tuple4<T4,T3,T2,T1> |
_4321()
Create a new 4-tuple from this one where the elements are ordered: 4th, 3rd, 2nd, 1st.
|
Tuple4<T1,T2,T3,T4> |
frozenNotNull()
Convert this into an object of a concrete tuple implementation.
|
<T> Tuple5<T,T1,T2,T3,T4> |
i1(T e1)
Create a 5-tuple from this 4-tuple by inserting a new first element.
|
<T> Tuple5<T1,T,T2,T3,T4> |
i2(T e2)
Create a 5-tuple from this 4-tuple by inserting a new second element.
|
<T> Tuple5<T1,T2,T,T3,T4> |
i3(T e3)
Create a 5-tuple from this 4-tuple by inserting a new third element.
|
<T> Tuple5<T1,T2,T3,T,T4> |
i4(T e4)
Create a 5-tuple from this 4-tuple by inserting a new fourth element.
|
<T> Tuple5<T1,T2,T3,T4,T> |
i5(T e5)
Create a 5-tuple from this 4-tuple by adding a new fifth element.
|
java.lang.String |
toString() |
<E1> Tuple4<E1,T2,T3,T4> |
x1(E1 e1)
Create a 4-tuple from this one where the first element is exchanged.
|
<E1,E2> Tuple4<E1,E2,T3,T4> |
x12(E1 e1,
E2 e2)
Create a 4-tuple from this one where the first and second elements are exchanged.
|
<E1,E2,E3> Tuple4<E1,E2,E3,T4> |
x123(E1 e1,
E2 e2,
E3 e3)
Create a 4-tuple from this one where the first, second, and thirdelements are exchanged.
|
<E1,E2,E4> Tuple4<E1,E2,T3,E4> |
x124(E1 e1,
E2 e2,
E4 e4)
Create a 4-tuple from this one where the first, second, and fourthelements are exchanged.
|
<E1,E3> Tuple4<E1,T2,E3,T4> |
x13(E1 e1,
E3 e3)
Create a 4-tuple from this one where the first and third elements are exchanged.
|
<E1,E3,E4> Tuple4<E1,T2,E3,E4> |
x134(E1 e1,
E3 e3,
E4 e4)
Create a 4-tuple from this one where the first, third, and fourthelements are exchanged.
|
<E1,E4> Tuple4<E1,T2,T3,E4> |
x14(E1 e1,
E4 e4)
Create a 4-tuple from this one where the first and fourth elements are exchanged.
|
<E2> Tuple4<T1,E2,T3,T4> |
x2(E2 e2)
Create a 4-tuple from this one where the second element is exchanged.
|
<E2,E3> Tuple4<T1,E2,E3,T4> |
x23(E2 e2,
E3 e3)
Create a 4-tuple from this one where the second and third elements are exchanged.
|
<E2,E3,E4> Tuple4<T1,E2,E3,E4> |
x234(E2 e2,
E3 e3,
E4 e4)
Create a 4-tuple from this one where the second, third, and fourthelements are exchanged.
|
<E2,E4> Tuple4<T1,E2,T3,E4> |
x24(E2 e2,
E4 e4)
Create a 4-tuple from this one where the second and fourth elements are exchanged.
|
<E3> Tuple4<T1,T2,E3,T4> |
x3(E3 e3)
Create a 4-tuple from this one where the third element is exchanged.
|
<E3,E4> Tuple4<T1,T2,E3,E4> |
x34(E3 e3,
E4 e4)
Create a 4-tuple from this one where the third and fourth elements are exchanged.
|
<E4> Tuple4<T1,T2,T3,E4> |
x4(E4 e4)
Create a 4-tuple from this one where the fourth 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 Tuple4<T1,T2,T4,T3> _1243()
ITuple4@NotNull public Tuple4<T1,T4,T2,T3> _1423()
ITuple4@NotNull public Tuple4<T4,T1,T2,T3> _4123()
ITuple4@NotNull public Tuple4<T4,T1,T3,T2> _4132()
ITuple4@NotNull public Tuple4<T1,T4,T3,T2> _1432()
ITuple4@NotNull public Tuple4<T1,T3,T4,T2> _1342()
ITuple4@NotNull public Tuple4<T1,T3,T2,T4> _1324()
ITuple4@NotNull public Tuple4<T3,T1,T2,T4> _3124()
ITuple4@NotNull public Tuple4<T3,T1,T4,T2> _3142()
ITuple4@NotNull public Tuple4<T3,T4,T1,T2> _3412()
ITuple4@NotNull public Tuple4<T4,T3,T1,T2> _4312()
ITuple4@NotNull public Tuple4<T4,T3,T2,T1> _4321()
ITuple4@NotNull public Tuple4<T3,T4,T2,T1> _3421()
ITuple4@NotNull public Tuple4<T3,T2,T4,T1> _3241()
ITuple4@NotNull public Tuple4<T3,T2,T1,T4> _3214()
ITuple4@NotNull public Tuple4<T2,T3,T1,T4> _2314()
ITuple4@NotNull public Tuple4<T2,T3,T4,T1> _2341()
ITuple4@NotNull public Tuple4<T2,T4,T3,T1> _2431()
ITuple4@NotNull public Tuple4<T4,T2,T3,T1> _4231()
ITuple4@NotNull public Tuple4<T4,T2,T1,T3> _4213()
ITuple4@NotNull public Tuple4<T2,T4,T1,T3> _2413()
ITuple4@NotNull public Tuple4<T2,T1,T4,T3> _2143()
ITuple4@NotNull public Tuple4<T2,T1,T3,T4> _2134()
ITuple4@NotNull public Tuple3<T1,T2,T3> _123()
ITuple4@NotNull public Tuple3<T1,T3,T2> _132()
ITuple4@NotNull public Tuple3<T3,T1,T2> _312()
ITuple4@NotNull public Tuple3<T3,T2,T1> _321()
ITuple4@NotNull public Tuple3<T2,T3,T1> _231()
ITuple4@NotNull public Tuple3<T2,T1,T3> _213()
ITuple4@NotNull public Tuple3<T1,T2,T4> _124()
ITuple4@NotNull public Tuple3<T1,T4,T2> _142()
ITuple4@NotNull public Tuple3<T4,T1,T2> _412()
ITuple4@NotNull public Tuple3<T4,T2,T1> _421()
ITuple4@NotNull public Tuple3<T2,T4,T1> _241()
ITuple4@NotNull public Tuple3<T2,T1,T4> _214()
ITuple4@NotNull public Tuple3<T1,T3,T4> _134()
ITuple4@NotNull public Tuple3<T1,T4,T3> _143()
ITuple4@NotNull public Tuple3<T4,T1,T3> _413()
ITuple4@NotNull public Tuple3<T4,T3,T1> _431()
ITuple4@NotNull public Tuple3<T3,T4,T1> _341()
ITuple4@NotNull public Tuple3<T3,T1,T4> _314()
ITuple4@NotNull public Tuple3<T2,T3,T4> _234()
ITuple4@NotNull public Tuple3<T2,T4,T3> _243()
ITuple4@NotNull public Tuple3<T4,T2,T3> _423()
ITuple4@NotNull public Tuple3<T4,T3,T2> _432()
ITuple4@NotNull public Tuple3<T3,T4,T2> _342()
ITuple4@NotNull public Tuple3<T3,T2,T4> _324()
ITuple4@NotNull public Tuple2<T1,T2> _12()
ITuple4@NotNull public Tuple2<T2,T1> _21()
ITuple4@NotNull public Tuple2<T1,T3> _13()
ITuple4@NotNull public Tuple2<T3,T1> _31()
ITuple4@NotNull public Tuple2<T2,T3> _23()
ITuple4@NotNull public Tuple2<T3,T2> _32()
ITuple4@NotNull public Tuple2<T1,T4> _14()
ITuple4@NotNull public Tuple2<T4,T1> _41()
ITuple4@NotNull public Tuple2<T2,T4> _24()
ITuple4@NotNull public Tuple2<T4,T2> _42()
ITuple4@NotNull public Tuple2<T3,T4> _34()
ITuple4@NotNull public Tuple2<T4,T3> _43()
ITuple4@NotNull public Tuple4<T1,T2,T3,T4> frozenNotNull()
ITuple4null
elements, but if this interface has null elements this method
will throw a NullPointerException.
See ITuple4.frozen() for a method which will not throw exceptions.
@NotNull public <E1> Tuple4<E1,T2,T3,T4> x1(@NotNull E1 e1)
E1 - type of exchanged first elemente1 - new first element@NotNull public <E2> Tuple4<T1,E2,T3,T4> x2(@NotNull E2 e2)
E2 - type of exchanged second elemente2 - new second element@NotNull public <E3> Tuple4<T1,T2,E3,T4> x3(@NotNull E3 e3)
E3 - type of exchanged third elemente3 - new third element@NotNull public <E4> Tuple4<T1,T2,T3,E4> x4(@NotNull E4 e4)
E4 - type of exchanged fourth elemente4 - new fourth element@NotNull public <E1,E2> Tuple4<E1,E2,T3,T4> 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> Tuple4<E1,T2,E3,T4> 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> Tuple4<T1,E2,E3,T4> 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 <E1,E4> Tuple4<E1,T2,T3,E4> x14(@NotNull E1 e1, @NotNull E4 e4)
E1 - type of exchanged first elementE4 - type of exchanged fourth elemente1 - new first elemente4 - new fourth element@NotNull public <E2,E4> Tuple4<T1,E2,T3,E4> x24(@NotNull E2 e2, @NotNull E4 e4)
E2 - type of exchanged second elementE4 - type of exchanged fourth elemente2 - new second elemente4 - new fourth element@NotNull public <E3,E4> Tuple4<T1,T2,E3,E4> x34(@NotNull E3 e3, @NotNull E4 e4)
E3 - type of exchanged third elementE4 - type of exchanged fourth elemente3 - new third elemente4 - new fourth element@NotNull public <E1,E2,E3> Tuple4<E1,E2,E3,T4> x123(@NotNull E1 e1, @NotNull E2 e2, @NotNull E3 e3)
E1 - type of exchanged first elementE2 - type of exchanged second elementE3 - type of exchanged third elemente1 - new first elemente2 - new second elemente3 - new third element@NotNull public <E1,E2,E4> Tuple4<E1,E2,T3,E4> x124(@NotNull E1 e1, @NotNull E2 e2, @NotNull E4 e4)
E1 - type of exchanged first elementE2 - type of exchanged second elementE4 - type of exchanged fourth elemente1 - new first elemente2 - new second elemente4 - new fourth element@NotNull public <E1,E3,E4> Tuple4<E1,T2,E3,E4> x134(@NotNull E1 e1, @NotNull E3 e3, @NotNull E4 e4)
E1 - type of exchanged first elementE3 - type of exchanged third elementE4 - type of exchanged fourth elemente1 - new first elemente3 - new third elemente4 - new fourth element@NotNull public <E2,E3,E4> Tuple4<T1,E2,E3,E4> x234(@NotNull E2 e2, @NotNull E3 e3, @NotNull E4 e4)
E2 - type of exchanged second elementE3 - type of exchanged third elementE4 - type of exchanged fourth elemente2 - new second elemente3 - new third elemente4 - new fourth element@NotNull public <T> Tuple5<T,T1,T2,T3,T4> i1(@NotNull T e1)
T - new element typee1 - new element@NotNull public <T> Tuple5<T1,T,T2,T3,T4> i2(@NotNull T e2)
T - new element typee2 - new element@NotNull public <T> Tuple5<T1,T2,T,T3,T4> i3(@NotNull T e3)
T - new element typee3 - new element@NotNull public <T> Tuple5<T1,T2,T3,T,T4> i4(@NotNull T e4)
T - new element typee4 - new element@NotNull public <T> Tuple5<T1,T2,T3,T4,T> i5(@NotNull T e5)
T - new element typee5 - new element