abstract class ValueClassScalar[S <: AnyVal, U <: AnyVal] extends Scalar[S]
Trait signifying that the data is scalar, and is using a value class to "wrap" the values of an underlying primitive type.
- S
the exposed (value class) type of the scalar data.
- U
the underlying (primitive) type of the actual stored values.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ValueClassScalar
- Scalar
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ValueClassScalar()(implicit arg0: ClassTag[U])
Abstract Value Members
- abstract def createArray(data: Array[U]): ValueClassScalarArray[S, U]
- abstract def fromByte(n: Byte): S
- Definition Classes
- Scalar
- abstract def fromDouble(n: Double): S
- Definition Classes
- Scalar
- abstract def fromFloat(n: Float): S
- Definition Classes
- Scalar
- abstract def fromInt(n: Int): S
- Definition Classes
- Scalar
- abstract def fromLong(n: Long): S
- Definition Classes
- Scalar
- abstract def fromShort(n: Short): S
- Definition Classes
- Scalar
- abstract def fromUnderlying(u: U): S
- Attributes
- protected[common]
- abstract def minus(s1: S, s2: S): S
- Definition Classes
- Scalar
- abstract def one: S
- Definition Classes
- Scalar
- abstract def plus(s1: S, s2: S): S
- Definition Classes
- Scalar
- abstract def times(s1: S, s2: S): S
- Definition Classes
- Scalar
- abstract def timesDouble(s1: S, d: Double): Double
- Definition Classes
- Scalar
- abstract def toByte(a: S): Byte
- Definition Classes
- Scalar
- abstract def toDouble(a: S): Double
- Definition Classes
- Scalar
- abstract def toFloat(a: S): Float
- Definition Classes
- Scalar
- abstract def toInt(a: S): Int
- Definition Classes
- Scalar
- abstract def toLong(a: S): Long
- Definition Classes
- Scalar
- abstract def toShort(a: S): Short
- Definition Classes
- Scalar
- abstract def toUnderlying(s: S): U
- Attributes
- protected[common]
- abstract def zero: S
- Definition Classes
- Scalar
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def convertArray[C](data: Array[C], f: (C) => S): ValueClassScalarArray[S, U]
- Attributes
- protected[scalismo]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()