Class Tuple5<A,B,C,D,E>

java.lang.Object
org.apache.juneau.utils.Tuple5<A,B,C,D,E>
Type Parameters:
A - Object 1 type.
B - Object 2 type.
C - Object 3 type.
D - Object 4 type.
E - Object 5 type.

public class Tuple5<A,B,C,D,E> extends Object
Represents a simple tuple of 5 objects.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Tuple5(A a, B b, C c, D d, E e)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Returns the first object in this tuple.
    Returns the second object in this tuple.
    Returns the third object in this tuple.
    Returns the fourth object in this tuple.
    Returns the fifth object in this tuple.
    int
     
    static <A, B, C, D, E>
    Tuple5<A,B,C,D,E>
    of(A a, B b, C c, D d, E e)
    Static creator.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Tuple5

      public Tuple5(A a, B b, C c, D d, E e)
      Constructor.
      Parameters:
      a - Object 1.
      b - Object 2.
      c - Object 3.
      d - Object 4.
      e - Object 5.
  • Method Details

    • of

      public static <A, B, C, D, E> Tuple5<A,B,C,D,E> of(A a, B b, C c, D d, E e)
      Static creator.
      Type Parameters:
      A - Object 1 type.
      B - Object 2 type.
      C - Object 3 type.
      D - Object 4 type.
      E - Object 5 type.
      Parameters:
      a - Object 1.
      b - Object 2.
      c - Object 3.
      d - Object 4.
      e - Object 5.
      Returns:
      A new tuple object.
    • getA

      public A getA()
      Returns the first object in this tuple.
      Returns:
      The first object in this tuple.
    • getB

      public B getB()
      Returns the second object in this tuple.
      Returns:
      The second object in this tuple.
    • getC

      public C getC()
      Returns the third object in this tuple.
      Returns:
      The third object in this tuple.
    • getD

      public D getD()
      Returns the fourth object in this tuple.
      Returns:
      The fourth object in this tuple.
    • getE

      public E getE()
      Returns the fifth object in this tuple.
      Returns:
      The fifth object in this tuple.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object