scala

Tuple3

class Tuple3[+T1, +T2, +T3](_1: T1, _2: T2, _3: T3) extends Product3[T1, T2, T3] with Product

Tuple3 is the canonical representation of a @see Product3

Inherits

  1. Product3
  2. Product
  3. Equals
  4. AnyRef
  5. Any

Type Members

  1. class Zipped[+Repr1, +El1, +Repr2, +El2, +Repr3, +El3] extends AnyRef

Value Members

  1. val _1: T1

    projection of this product

    projection of this product

  2. val _2: T2

    projection of this product

    projection of this product

  3. val _3: T3

    projection of this product

    projection of this product

  4. def canEqual(arg0: Any): Boolean

    A method that should be called from every well-designed equals method that is open to be overridden in a subclass

    A method that should be called from every well-designed equals method that is open to be overridden in a subclass. See Programming in Scala, Chapter 28 for discussion and design.

  5. def equals(arg0: Any): Boolean

    The equality method defined in AnyRef

    The equality method defined in AnyRef.

  6. def hashCode(): Int

    Returns a hash code value for the object

    Returns a hash code value for the object.

    The default hashing algorithm is platform dependent.

    Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

  7. def productArity: Int

    The arity of this product

    The arity of this product.

    definition classes: Product3Product
  8. def productElement(n: Int): Any

    Returns the n-th projection of this product if 0<=n<arity, otherwise null

    Returns the n-th projection of this product if 0<=n<arity, otherwise null.

    n

    number of the projection to be returned

    returns

    same as _(n+1)

    definition classes: Product3Product
  9. def productElements: Iterator[Any]

  10. def productIterator: Iterator[Any]

    An iterator that returns all fields of this product

    An iterator that returns all fields of this product

    definition classes: Product
  11. def productPrefix: String

    By default the empty string

    By default the empty string. Implementations may override this method in order to prepend a string prefix to the result of the toString methods.

  12. def toString(): String

    Returns a string representation of the object

    Returns a string representation of the object.

    The default representation is platform dependent.

  13. def zip[Repr1, El1, El2, El3, To](w1: (T1) ⇒ TraversableLike[El1, Repr1], w2: (T2) ⇒ Iterable[El2], w3: (T3) ⇒ Iterable[El3], cbf1: CanBuildFrom[Repr1, (El1, El2, El3), To]): To

  14. def zipped[Repr1, El1, Repr2, El2, Repr3, El3](w1: (T1) ⇒ TraversableLike[El1, Repr1], w2: (T2) ⇒ IterableLike[El2, Repr2], w3: (T3) ⇒ IterableLike[El3, Repr3]): Zipped[Repr1, El1, Repr2, El2, Repr3, El3]

Instance constructors

  1. new Tuple3(_1: T1, _2: T2, _3: T3)

  2. new Tuple3()