Class Tuple4<T1,​T2,​T3,​T4>

java.lang.Object
com.couchbase.client.core.lang.Tuple4<T1,​T2,​T3,​T4>
Type Parameters:
T1 - the type of the first value.
T2 - the type of the second value.
T3 - the type of the third value.
T4 - the type of the fourth value.

public final class Tuple4<T1,​T2,​T3,​T4>
extends Object
A container for four values. Use the corresponding Tuple.create(Object, Object, Object, Object) method to instantiate this tuple.
Since:
1.0
Author:
Michael Nitschinger
  • Method Details

    • value1

      public T1 value1()
      Get the first value.
      Returns:
      the first value.
    • value2

      public T2 value2()
      Get the second value.
      Returns:
      the second value.
    • value3

      public T3 value3()
      Get the third value.
      Returns:
      the third value.
    • value4

      public T4 value4()
      Get the fourth value.
      Returns:
      the fourth value.
    • toString

      public String toString()
      Overrides:
      toString in class Object