Module de.powerstat.validation
Class NTuple9<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>>
java.lang.Object
de.powerstat.validation.containers.NTuple9<T1,T2,T3,T4,T5,T6,T7,T8,T9>
- Type Parameters:
T1- Type 1T2- Type 2T3- Type 3T4- Type 4T5- Type 5T6- Type 6T7- Type 7T8- Type 8T9- Type 9
- All Implemented Interfaces:
Comparable<NTuple9<T1,T2, T3, T4, T5, T6, T7, T8, T9>>
public final class NTuple9<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>>
extends Object
implements Comparable<NTuple9<T1,T2,T3,T4,T5,T6,T7,T8,T9>>
N-Tuple 9.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final T1Object1 of type T1.private final T2Object2 of type T2.private final T3Object3 of type T3.private final T4Object4 of type T4.private final T5Object5 of type T5.private final T6Object6 of type T6.private final T7Object7 of type T7.private final T8Object8 of type T8.private final T9Object9 of type T9. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintCompare with another object.booleanIs equal with another object.inthashCode()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>>
NTuple9<T1,T2, T3, T4, T5, T6, T7, T8, T9> of(T1 obj1, T2 obj2, T3 obj3, T4 obj4, T5 obj5, T6 obj6, T7 obj7, T8 obj8, T9 obj9) NTuple9 factory.t1Value()Returns the first value of this NTuple9 as a T1.t2Value()Returns the second value of this NTuple9 as a T2.t3Value()Returns the second value of this NTuple9 as a T3.t4Value()Returns the second value of this NTuple9 as a T4.t5Value()Returns the second value of this NTuple9 as a T5.t6Value()Returns the second value of this NTuple9 as a T6.t7Value()Returns the second value of this NTuple9 as a T7.t8Value()Returns the second value of this NTuple9 as a T8.t9Value()Returns the second value of this NTuple9 as a T9.toString()Returns the string representation of this NTuple9.
-
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.
-
-
Constructor Details
-
NTuple9
Private constructor.- Parameters:
obj1- Object 1 of type T1obj2- Object 2 of Type T2obj3- Object 3 of Type T3obj4- Object 4 of type T4obj5- Object 5 of Type T5obj6- Object 6 of Type T6obj7- Object 7 of type T7obj8- Object 8 of Type T8obj9- Object 9 of Type T9
-
-
Method Details
-
of
public static <T1 extends Comparable<T1>,T2 extends Comparable<T2>, NTuple9<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>> T2, ofT3, T4, T5, T6, T7, T8, T9> (T1 obj1, T2 obj2, T3 obj3, T4 obj4, T5 obj5, T6 obj6, T7 obj7, T8 obj8, T9 obj9) NTuple9 factory.- Type Parameters:
T1- Type 1T2- Type 2T3- Type 3T4- Type 4T5- Type 5T6- Type 6T7- Type 7T8- Type 8T9- Type 9- Parameters:
obj1- Object 1 of type T1obj2- Object 2 of Type T2obj3- Object 3 of Type T3obj4- Object 1 of type T4obj5- Object 2 of Type T5obj6- Object 3 of Type T6obj7- Object 1 of type T7obj8- Object 2 of Type T8obj9- Object 3 of Type T9- Returns:
- NTuple9 object
-
t1Value
Returns the first value of this NTuple9 as a T1.- Returns:
- The T1 value represented by this object.
-
t2Value
Returns the second value of this NTuple9 as a T2.- Returns:
- The T2 value represented by this object.
-
t3Value
Returns the second value of this NTuple9 as a T3.- Returns:
- The T3 value represented by this object.
-
t4Value
Returns the second value of this NTuple9 as a T4.- Returns:
- The T4 value represented by this object.
-
t5Value
Returns the second value of this NTuple9 as a T5.- Returns:
- The T5 value represented by this object.
-
t6Value
Returns the second value of this NTuple9 as a T6.- Returns:
- The T6 value represented by this object.
-
t7Value
Returns the second value of this NTuple9 as a T7.- Returns:
- The T7 value represented by this object.
-
t8Value
Returns the second value of this NTuple9 as a T8.- Returns:
- The T8 value represented by this object.
-
t9Value
Returns the second value of this NTuple9 as a T9.- Returns:
- The T9 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 NTuple9. The exact details of this representation are unspecified and subject to change, but the following may be regarded as typical: "NTuple9[object1=..., object2=..., object3=..., object34=..., object5=..., object6=..., object7=..., object8=..., object9=...]" -
compareTo
Compare with another object.- Specified by:
compareToin interfaceComparable<T1 extends Comparable<T1>>- Parameters:
obj- Object to compare with- Returns:
- 0: equal; 1: greater; -1: smaller
- See Also:
-