Class Tuple7<T1,T2,T3,T4,T5,T6,T7>

Type Parameters:
T1 - the type of the 1st element
T2 - the type of the 2nd element
T3 - the type of the 3rd element
T4 - the type of the 4th element
T5 - the type of the 5th element
T6 - the type of the 6th element
T7 - the type of the 7th element
All Implemented Interfaces:
Tuple
Direct Known Subclasses:
Tuple8

public class Tuple7<T1,T2,T3,T4,T5,T6,T7> extends Tuple6<T1,T2,T3,T4,T5,T6>
A Tuple of 7 elements.
Since:
2.0.0
  • Constructor Details

    • Tuple7

      public Tuple7(T1 element1, T2 element2, T3 element3, T4 element4, T5 element5, T6 element6, T7 element7)
      Constructs a new Tuple with the supplied elements.
  • Method Details

    • getElement7

      public T7 getElement7()
      Returns the 7th element of this tuple.
      Returns:
      the 7th element of this tuple
    • setElement7

      public void setElement7(T7 element7)
      Sets the 7th element of this tuple.
    • size

      public int size()
      Description copied from interface: Tuple
      Returns the number of elements of this tuple.
      Specified by:
      size in interface Tuple
      Overrides:
      size in class Tuple6<T1,T2,T3,T4,T5,T6>
      Returns:
      the number of elements of this tuple
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Tuple6<T1,T2,T3,T4,T5,T6>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Tuple6<T1,T2,T3,T4,T5,T6>