Packages

c

slick.ast

ScalaNumericType

class ScalaNumericType[T] extends ScalaBaseType[T] with NumericTypedType

Source
Type.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaNumericType
  2. NumericTypedType
  3. ScalaBaseType
  4. BaseTypedType
  5. AtomicType
  6. ScalaType
  7. TypedType
  8. Type
  9. Dumpable
  10. AnyRef
  11. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ScalaNumericType(fromDouble: (Double) => T)(implicit tag: ClassTag[T], numeric: Numeric[T])

Value Members

  1. def children: ConstArray[Nothing]

    All children of this Type.

    All children of this Type.

    Definition Classes
    AtomicTypeType
  2. final def childrenForeach[R](f: (Type) => R): Unit

    Apply a side-effecting function to all children.

    Apply a side-effecting function to all children.

    Definition Classes
    AtomicTypeType
  3. implicit val classTag: ClassTag[T]

    A ClassTag for the erased type of this type's Scala values

    A ClassTag for the erased type of this type's Scala values

    Definition Classes
    ScalaBaseTypeType
  4. def equals(o: Any): Boolean
    Definition Classes
    ScalaBaseType → AnyRef → Any
  5. val fromDouble: (Double) => T
  6. def getDumpInfo: DumpInfo

    Return the name, main info, attribute info and named children

    Return the name, main info, attribute info and named children

    Definition Classes
    TypeDumpable
  7. def hashCode(): Int
    Definition Classes
    ScalaBaseType → AnyRef → Any
  8. final def isPrimitive: Boolean
    Definition Classes
    ScalaType
  9. final def mapChildren(f: (Type) => Type): ScalaNumericType.this.type

    Apply a transformation to all type children and reconstruct this type with the new children, or return the original object if no child is changed.

    Apply a transformation to all type children and reconstruct this type with the new children, or return the original object if no child is changed.

    Definition Classes
    AtomicTypeType
  10. def nullable: Boolean
    Definition Classes
    ScalaBaseTypeScalaType
  11. implicit val numeric: Numeric[T]
  12. def optionType: ScalaOptionType[T]
    Definition Classes
    ScalaTypeTypedType
  13. def ordered: Boolean
    Definition Classes
    ScalaBaseTypeScalaType
  14. implicit val ordering: scala.math.Ordering[T]
    Definition Classes
    ScalaBaseType
  15. def scalaOrderingFor(ord: Ordering): scala.math.Ordering[T]
    Definition Classes
    ScalaBaseTypeScalaType
  16. final def scalaType: ScalaType[T]
    Definition Classes
    ScalaTypeTypedType
  17. def select(sym: TermSymbol): Type
    Definition Classes
    Type
  18. def structural: Type

    The structural view of this type

    The structural view of this type

    Definition Classes
    Type
  19. def structuralRec: Type

    Remove all NominalTypes recursively from this Type

    Remove all NominalTypes recursively from this Type

    Definition Classes
    Type
  20. def toDouble(v: T): Double
  21. def toString(): String
    Definition Classes
    ScalaBaseType → AnyRef → Any