Class Tuple4<T1,T2,T3,T4>

Type Parameters:
T1 - the type of the first element
T2 - the type of the second element
T3 - the type of the third element
T4 - the type of the fourth element

public final class Tuple4<T1,T2,T3,T4> extends Object
A tuple of four elements along the lines of Scala's Tuple.
  • Field Details

    • value1

      public final T1 value1
    • value2

      public final T2 value2
    • value3

      public final T3 value3
    • value4

      public final T4 value4
  • Constructor Details

    • Tuple4

      public Tuple4(T1 value1, T2 value2, T3 value3, T4 value4)
      Constructs a new tuple.
      value1 - the first element
      value2 - the second element
      value3 - the third element
      value4 - the fourth element
  • Method Details