Package com.andrebreves.tuple
Class Tuple10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
- java.lang.Object
-
- com.andrebreves.tuple.Tuple10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
-
- All Implemented Interfaces:
Tuple,java.lang.Comparable<Tuple10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>>
public final class Tuple10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> extends java.lang.Object implements Tuple, java.lang.Comparable<Tuple10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>>
A Tuple that has 10 values.- Author:
- Andre Breves
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Tuple10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> other)intdegree()Returns the value count of this Tuple.booleanequals(java.lang.Object obj)inthashCode()static <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
Tuple10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>of(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9, T10 v10)Returns a Tuple that has 10 values.T1v1()Returns the 1st value of this Tuple.T10v10()Returns the 10th value of this Tuple.T2v2()Returns the 2nd value of this Tuple.T3v3()Returns the 3rd value of this Tuple.T4v4()Returns the 4th value of this Tuple.T5v5()Returns the 5th value of this Tuple.T6v6()Returns the 6th value of this Tuple.T7v7()Returns the 7th value of this Tuple.T8v8()Returns the 8th value of this Tuple.T9v9()Returns the 9th value of this Tuple.
-
-
-
Method Detail
-
of
public static <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> Tuple10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> of(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9, T10 v10)
Returns a Tuple that has 10 values.
-
v1
public T1 v1()
Returns the 1st value of this Tuple.
-
v2
public T2 v2()
Returns the 2nd value of this Tuple.
-
v3
public T3 v3()
Returns the 3rd value of this Tuple.
-
v4
public T4 v4()
Returns the 4th value of this Tuple.
-
v5
public T5 v5()
Returns the 5th value of this Tuple.
-
v6
public T6 v6()
Returns the 6th value of this Tuple.
-
v7
public T7 v7()
Returns the 7th value of this Tuple.
-
v8
public T8 v8()
Returns the 8th value of this Tuple.
-
v9
public T9 v9()
Returns the 9th value of this Tuple.
-
v10
public T10 v10()
Returns the 10th value of this Tuple.
-
degree
public int degree()
Description copied from interface:TupleReturns the value count of this Tuple.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-