final class TupleOps[T] extends AnyVal
Ordering
- Alphabetic
- By Inheritance
Inherited
- TupleOps
- AnyVal
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new TupleOps(tuple: T)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def +(other: String): String
- def ->[B](y: B): (TupleOps[T], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def append[S](value: S)(implicit ao: AppendOne[T, S]): Out
Appends the given value to the tuple producing a tuple of arity n + 1.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ensuring(cond: (TupleOps[T]) => Boolean, msg: => Any): TupleOps[T]
- def ensuring(cond: (TupleOps[T]) => Boolean): TupleOps[T]
- def ensuring(cond: Boolean, msg: => Any): TupleOps[T]
- def ensuring(cond: Boolean): TupleOps[T]
- def foldLeft[In](zero: In)(op: BinaryPolyFunc)(implicit fold: FoldLeft[In, T, op.type]): Out
Left-Folds over the tuple using the given binary poly-function.
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def join[S](suffixTuple: S)(implicit join: Join[T, S]): Out
Appends the given tuple to the underlying tuple producing a tuple of arity n + m.
- def toString(): String
- Definition Classes
- Any
- val tuple: T
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from TupleOps[T] toStringFormat[TupleOps[T]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (TupleOps[T], B)
- Implicit
- This member is added by an implicit conversion from TupleOps[T] toArrowAssoc[TupleOps[T]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.