Class Tuple4<E0,​E1,​E2,​E3>

java.lang.Object
com.hazelcast.jet.datamodel.Tuple4<E0,​E1,​E2,​E3>
Type Parameters:
E0 - the type of the field 0
E1 - the type of the field 1
E2 - the type of the field 2
E3 - the type of the field 3

public final class Tuple4<E0,​E1,​E2,​E3>
extends Object
An immutable 4-tuple of statically typed fields.
Since:
3.0
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(Object obj)  
    E0 f0()
    Returns the value of the field 0.
    E1 f1()
    Returns the value of the field 1.
    E2 f2()
    Returns the value of the field 2.
    E3 f3()
    Returns the value of the field 3.
    int hashCode()  
    String toString()  
    static <E0,​ E1,​ E2,​ E3>
    Tuple4<E0,​E1,​E2,​E3>
    tuple4​(E0 f0, E1 f1, E2 f2, E3 f3)
    Returns a new 5-tuple with the supplied values.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • tuple4

      public static <E0,​ E1,​ E2,​ E3> Tuple4<E0,​E1,​E2,​E3> tuple4​(E0 f0, E1 f1, E2 f2, E3 f3)
      Returns a new 5-tuple with the supplied values.
    • f0

      public E0 f0()
      Returns the value of the field 0.
    • f1

      public E1 f1()
      Returns the value of the field 1.
    • f2

      public E2 f2()
      Returns the value of the field 2.
    • f3

      public E3 f3()
      Returns the value of the field 3.
    • equals

      public boolean equals​(Object obj)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object