c

scalismo.common

ValueClassScalar

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.

See also

Value Classes and Universal Traits

Linear Supertypes
Scalar[S], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ValueClassScalar
  2. Scalar
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ValueClassScalar()(implicit arg0: ClassTag[U])

Abstract Value Members

  1. abstract def createArray(data: Array[U]): ValueClassScalarArray[S, U]
  2. abstract def fromByte(n: Byte): S
    Definition Classes
    Scalar
  3. abstract def fromDouble(n: Double): S
    Definition Classes
    Scalar
  4. abstract def fromFloat(n: Float): S
    Definition Classes
    Scalar
  5. abstract def fromInt(n: Int): S
    Definition Classes
    Scalar
  6. abstract def fromLong(n: Long): S
    Definition Classes
    Scalar
  7. abstract def fromShort(n: Short): S
    Definition Classes
    Scalar
  8. abstract def fromUnderlying(u: U): S
    Attributes
    protected[common]
  9. abstract def minus(s1: S, s2: S): S
    Definition Classes
    Scalar
  10. abstract def one: S
    Definition Classes
    Scalar
  11. abstract def plus(s1: S, s2: S): S
    Definition Classes
    Scalar
  12. abstract def times(s1: S, s2: S): S
    Definition Classes
    Scalar
  13. abstract def timesDouble(s1: S, d: Double): Double
    Definition Classes
    Scalar
  14. abstract def toByte(a: S): Byte
    Definition Classes
    Scalar
  15. abstract def toDouble(a: S): Double
    Definition Classes
    Scalar
  16. abstract def toFloat(a: S): Float
    Definition Classes
    Scalar
  17. abstract def toInt(a: S): Int
    Definition Classes
    Scalar
  18. abstract def toLong(a: S): Long
    Definition Classes
    Scalar
  19. abstract def toShort(a: S): Short
    Definition Classes
    Scalar
  20. abstract def toUnderlying(s: S): U
    Attributes
    protected[common]
  21. abstract def zero: S
    Definition Classes
    Scalar

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def convertArray[C](data: Array[C], f: (C) => S): ValueClassScalarArray[S, U]
    Attributes
    protected[scalismo]
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Scalar[S]

Inherited from AnyRef

Inherited from Any

Ungrouped