final class Tuple2SyntaxOps[A1, A2] extends AnyVal
- Source
- tuple.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Tuple2SyntaxOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Tuple2SyntaxOps(t: (A1, A2))
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def *:[A0](elem: A0): (A0, A1, A2)
Return a new tuple by prepending the element to
this
tuple.Return a new tuple by prepending the element to
this
tuple.0 *: (1, 2) // the result is (0, 1, 2)
Example: - def :*[A3](elem: A3): (A1, A2, A3)
Return a copy of
this
tuple with the element appended.Return a copy of
this
tuple with the element appended.(1, 2) :* 3 // the result is (1, 2, 3)
Example: - final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def head: A1
- Annotations
- @inline()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def last: A2
- Annotations
- @inline()
- def reverse: (A2, A1)
- def toString(): String
- Definition Classes
- Any