Module de.powerstat.validation
Class NTuple16<T1 extends Comparable<T1>,T2 extends Comparable<T2>,T3 extends Comparable<T3>,T4 extends Comparable<T4>,T5 extends Comparable<T5>,T6 extends Comparable<T6>,T7 extends Comparable<T7>,T8 extends Comparable<T8>,T9 extends Comparable<T9>,T10 extends Comparable<T10>,T11 extends Comparable<T11>,T12 extends Comparable<T12>,T13 extends Comparable<T13>,T14 extends Comparable<T14>,T15 extends Comparable<T15>,T16 extends Comparable<T16>>
java.lang.Object
de.powerstat.validation.containers.NTuple16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>
- Type Parameters:
T1
- Type 1T2
- Type 2 optionalT3
- Type 3 optionalT4
- Type 4 optionalT5
- Type 5 optionalT6
- Type 6 optionalT7
- Type 7 optionalT8
- Type 8 optionalT9
- Type 9 optionalT10
- Type 10 optionalT11
- Type 11 optionalT12
- Type 12 optionalT13
- Type 13 optionalT14
- Type 14 optionalT15
- Type 15 optionalT16
- Type 16
- All Implemented Interfaces:
Comparable<NTuple16<T1,
T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>>
public final class NTuple16<T1 extends Comparable<T1>,T2 extends Comparable<T2>,T3 extends Comparable<T3>,T4 extends Comparable<T4>,T5 extends Comparable<T5>,T6 extends Comparable<T6>,T7 extends Comparable<T7>,T8 extends Comparable<T8>,T9 extends Comparable<T9>,T10 extends Comparable<T10>,T11 extends Comparable<T11>,T12 extends Comparable<T12>,T13 extends Comparable<T13>,T14 extends Comparable<T14>,T15 extends Comparable<T15>,T16 extends Comparable<T16>>
extends Object
implements Comparable<NTuple16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>>
N-Tuple 16.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final T1
Object1 of type T1.private final T10
Object10 of type T10.private final T11
Object11 of type T11.private final T12
Object12 of type T12.private final T13
Object13 of type T13.private final T14
Object14 of type T14.private final T15
Object15 of type T15.private final T16
Object16 of type T16.private final T2
Object2 of type T2.private final T3
Object3 of type T3.private final T4
Object4 of type T4.private final T5
Object5 of type T5.private final T6
Object6 of type T6.private final T7
Object7 of type T7.private final T8
Object8 of type T8.private final T9
Object9 of type T9. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Compare with another object.boolean
Is equal with another object.int
hashCode()
Calculate hash code.static <T1 extends Comparable<T1>,
T2 extends Comparable<T2>, T3 extends Comparable<T3>, T4 extends Comparable<T4>, T5 extends Comparable<T5>, T6 extends Comparable<T6>, T7 extends Comparable<T7>, T8 extends Comparable<T8>, T9 extends Comparable<T9>, T10 extends Comparable<T10>, T11 extends Comparable<T11>, T12 extends Comparable<T12>, T13 extends Comparable<T13>, T14 extends Comparable<T14>, T15 extends Comparable<T15>, T16 extends Comparable<T16>>
NTuple16<T1,T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> of
(T1 obj1, T2 obj2, T3 obj3, T4 obj4, T5 obj5, T6 obj6, T7 obj7, T8 obj8, T9 obj9, T10 obj10, T11 obj11, T12 obj12, T13 obj13, T14 obj14, T15 obj15, T16 obj16) NTuple16 factory.t10Value()
Returns the second value of this NTuple16 as a T10.t11Value()
Returns the second value of this NTuple16 as a T11.t12Value()
Returns the second value of this NTuple16 as a T12.t13Value()
Returns the second value of this NTuple16 as a T13.t14Value()
Returns the second value of this NTuple16 as a T14.t15Value()
Returns the second value of this NTuple16 as a T15.t16Value()
Returns the second value of this NTuple16 as a T16.t1Value()
Returns the first value of this NTuple16 as a T1.t2Value()
Returns the second value of this NTuple16 as a T2.t3Value()
Returns the second value of this NTuple16 as a T3.t4Value()
Returns the second value of this NTuple16 as a T4.t5Value()
Returns the second value of this NTuple16 as a T5.t6Value()
Returns the second value of this NTuple16 as a T6.t7Value()
Returns the second value of this NTuple16 as a T7.t8Value()
Returns the second value of this NTuple16 as a T8.t9Value()
Returns the second value of this NTuple16 as a T9.toString()
Returns the string representation of this NTuple16.
-
Field Details
-
object1
Object1 of type T1. -
object2
Object2 of type T2. -
object3
Object3 of type T3. -
object4
Object4 of type T4. -
object5
Object5 of type T5. -
object6
Object6 of type T6. -
object7
Object7 of type T7. -
object8
Object8 of type T8. -
object9
Object9 of type T9. -
object10
Object10 of type T10. -
object11
Object11 of type T11. -
object12
Object12 of type T12. -
object13
Object13 of type T13. -
object14
Object14 of type T14. -
object15
Object15 of type T15. -
object16
Object16 of type T16.
-
-
Constructor Details
-
NTuple16
private NTuple16(T1 obj1, T2 obj2, T3 obj3, T4 obj4, T5 obj5, T6 obj6, T7 obj7, T8 obj8, T9 obj9, T10 obj10, T11 obj11, T12 obj12, T13 obj13, T14 obj14, T15 obj15, T16 obj16) Private constructor.- Parameters:
obj1
- Object 1 of type T1obj2
- Object 2 of Type T2 optionalobj3
- Object 3 of Type T3 optionalobj4
- Object 4 of type T4 optionalobj5
- Object 5 of Type T5 optionalobj6
- Object 6 of Type T6 optionalobj7
- Object 7 of type T7 optionalobj8
- Object 8 of Type T8 optionalobj9
- Object 9 of Type T9 optionalobj10
- Object 10 of Type T10 optionalobj11
- Object 11 of type T11 optionalobj12
- Object 12 of Type T12 optionalobj13
- Object 13 of Type T13 optionalobj14
- Object 14 of type T14 optionalobj15
- Object 15 of Type T15 optionalobj16
- Object 16 of Type T16
-
-
Method Details
-
of
public static <T1 extends Comparable<T1>,T2 extends Comparable<T2>, NTuple16<T1,T3 extends Comparable<T3>, T4 extends Comparable<T4>, T5 extends Comparable<T5>, T6 extends Comparable<T6>, T7 extends Comparable<T7>, T8 extends Comparable<T8>, T9 extends Comparable<T9>, T10 extends Comparable<T10>, T11 extends Comparable<T11>, T12 extends Comparable<T12>, T13 extends Comparable<T13>, T14 extends Comparable<T14>, T15 extends Comparable<T15>, T16 extends Comparable<T16>> T2, ofT3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> (T1 obj1, T2 obj2, T3 obj3, T4 obj4, T5 obj5, T6 obj6, T7 obj7, T8 obj8, T9 obj9, T10 obj10, T11 obj11, T12 obj12, T13 obj13, T14 obj14, T15 obj15, T16 obj16) NTuple16 factory.- Type Parameters:
T1
- Type 1T2
- Type 2 optionalT3
- Type 3 optionalT4
- Type 4 optionalT5
- Type 5 optionalT6
- Type 6 optionalT7
- Type 7 optionalT8
- Type 8 optionalT9
- Type 9 optionalT10
- Type 10 optionalT11
- Type 11 optionalT12
- Type 12 optionalT13
- Type 13 optionalT14
- Type 14 optionalT15
- Type 15 optionalT16
- Type 16- Parameters:
obj1
- Object 1 of type T1obj2
- Object 2 of Type T2 optionalobj3
- Object 3 of Type T3 optionalobj4
- Object 1 of type T4 optionalobj5
- Object 2 of Type T5 optionalobj6
- Object 3 of Type T6 optionalobj7
- Object 1 of type T7 optionalobj8
- Object 2 of Type T8 optionalobj9
- Object 3 of Type T9 optionalobj10
- Object 10 of Type T10 optionalobj11
- Object 11 of Type T11 optionalobj12
- Object 12 of Type T12 optionalobj13
- Object 13 of Type T13 optionalobj14
- Object 14 of Type T14 optionalobj15
- Object 15 of Type T15 optionalobj16
- Object 16 of Type T16- Returns:
- NTuple16 object
-
t1Value
Returns the first value of this NTuple16 as a T1.- Returns:
- The T1 value represented by this object.
-
t2Value
Returns the second value of this NTuple16 as a T2.- Returns:
- The T2 value represented by this object.
-
t3Value
Returns the second value of this NTuple16 as a T3.- Returns:
- The T3 value represented by this object.
-
t4Value
Returns the second value of this NTuple16 as a T4.- Returns:
- The T4 value represented by this object.
-
t5Value
Returns the second value of this NTuple16 as a T5.- Returns:
- The T5 value represented by this object.
-
t6Value
Returns the second value of this NTuple16 as a T6.- Returns:
- The T6 value represented by this object.
-
t7Value
Returns the second value of this NTuple16 as a T7.- Returns:
- The T7 value represented by this object.
-
t8Value
Returns the second value of this NTuple16 as a T8.- Returns:
- The T8 value represented by this object.
-
t9Value
Returns the second value of this NTuple16 as a T9.- Returns:
- The T9 value represented by this object.
-
t10Value
Returns the second value of this NTuple16 as a T10.- Returns:
- The T10 value represented by this object.
-
t11Value
Returns the second value of this NTuple16 as a T11.- Returns:
- The T11 value represented by this object.
-
t12Value
Returns the second value of this NTuple16 as a T12.- Returns:
- The T12 value represented by this object.
-
t13Value
Returns the second value of this NTuple16 as a T13.- Returns:
- The T13 value represented by this object.
-
t14Value
Returns the second value of this NTuple16 as a T14.- Returns:
- The T14 value represented by this object.
-
t15Value
Returns the second value of this NTuple16 as a T15.- Returns:
- The T15 value represented by this object.
-
t16Value
Returns the second value of this NTuple16 as a T16.- Returns:
- The T16 value represented by this object.
-
hashCode
public int hashCode()Calculate hash code. -
equals
Is equal with another object. -
toString
Returns the string representation of this NTuple16. The exact details of this representation are unspecified and subject to change, but the following may be regarded as typical: "NTuple16[object1=..., object2=..., object3=..., object34=..., object5=..., object6=..., object7=..., object8=..., object9=..., object10=..., object11=..., object12=..., object13=..., object14=..., object15=..., object16=...]" -
compareTo
Compare with another object.- Specified by:
compareTo
in interfaceComparable<T1 extends Comparable<T1>>
- Parameters:
obj
- Object to compare with- Returns:
- 0: equal; 1: greater; -1: smaller
- See Also:
-