final class ProductOps[P] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ProductOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ProductOps(p: P)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
length(implicit length: ProductLength[P]): ops.product.ProductLength.Out
Compute the length of this product.
- val p: P
-
def
productElements(implicit gen: Generic[P]): Repr
Returns an
HList
containing the elements of this tuple. -
def
to[M[_]](implicit toTraversable: ToTraversable[P, M]): Out
Returns a collection
M
whose elements are typed as the Lub of the elements of this product. -
def
toHList[L <: HList](implicit toHList: Aux[P, L]): L
Returns an
HList
containing the elements of this product. -
def
toMap[K, V](implicit toMap: Aux[P, K, V]): Map[K, V]
Returns a
Map
whose values are typed as the Lub of the values of this product. -
def
toRecord[R <: HList](implicit toRecord: Aux[P, R]): R
Returns a record containing the elements of this labelled product.
-
def
toSized[M[_]](implicit toSized: ToSized[P, M]): Out
Returns a sized collection
M
whose elements are typed as the Lub of the elements of this product. -
def
toString(): String
- Definition Classes
- Any
-
def
toTuple[T](implicit toTuple: Aux[P, T]): T
Returns a tuple containing the values of this product.