Package org.apache.storm.streams.tuple

# Class Tuple3<T1,T2,T3>

java.lang.Object
org.apache.storm.streams.tuple.Tuple3<T1,T2,T3>

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

public final class Tuple3<T1,T2,T3> extends Object
A tuple of three elements along the lines of Scala's Tuple.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final T1`
  `value1`
  `final T2`
  `value2`
  `final T3`
  `value3`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Tuple3(T1 value1, T2 value2, T3 value3)`
  Constructs a new tuple.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object o)`
  `int`
  `hashCode()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### value1

    public final T1 value1

  - ### value2

    public final T2 value2

  - ### value3

    public final T3 value3

- ## Constructor Details

  - ### Tuple3

    public Tuple3(T1 value1, T2 value2, T3 value3)
    Constructs a new tuple.
    Parameters:
      `value1` - the first element
      `value2` - the second element
      `value3` - the third element

- ## Method Details

  - ### equals

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

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`