Packages

object SNumericType extends STypeCompanion

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SNumericType
  2. STypeCompanion
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. val ToBigIntMethod: SMethod
  5. val ToBitsMethod: SMethod
  6. val ToBits_CostKind: FixedCost

    Cost of: 1) creating Boolean collection (one bool for each bit) from a numeric value.

  7. val ToByteMethod: SMethod

    The following SMethod instances are descriptors of methods available on all numeric types.

    The following SMethod instances are descriptors of methods available on all numeric types.

    See also

    val methods below

  8. val ToBytesMethod: SMethod
  9. val ToBytes_CostKind: FixedCost

    Cost of: 1) creating Byte collection from a numeric value

  10. val ToIntMethod: SMethod
  11. val ToLongMethod: SMethod
  12. val ToShortMethod: SMethod
  13. final val allNumericTypes: Array[SPrimType with SNumericType with SMonoType with SEmbeddable with Serializable { type WrappedType >: special.sigma.BigInt with Long with Int with Short with Byte }]

    Array of all numeric types ordered by number of bytes in the representation.

  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. val castMethods: Array[String]

    Collection of names of numeric casting methods (like toByte, toInt, etc).

  16. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  17. val costOfNumericCast: MethodCostFunc

    Cost function which is assigned for numeric cast MethodCall nodes in ErgoTree.

    Cost function which is assigned for numeric cast MethodCall nodes in ErgoTree. It is called as part of MethodCall.eval method.

  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def getMethodById(methodId: Byte): Option[SMethod]

    Lookup method by its id in this type.

    Lookup method by its id in this type.

    Definition Classes
    STypeCompanion
    Annotations
    @inline()
  23. def getMethodByName(name: String): SMethod

    Looks up the method descriptor by the method name.

    Looks up the method descriptor by the method name.

    Definition Classes
    STypeCompanion
  24. def getNumericCast(fromTpe: SType, methodName: String, resTpe: SType): Option[NumericCastCompanion]

    Convert the given method to a cast operation from fromTpe to resTpe.

  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def isCastMethod(name: String): Boolean

    Checks the given name is numeric type cast method (like toByte, toInt, etc.).

  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def methodById(methodId: Byte): SMethod

    Lookup method in this type by method's id or throw ValidationException.

    Lookup method in this type by method's id or throw ValidationException. This method can be used in trySoftForkable section to either obtain valid method or catch ValidatioinException which can be checked for soft-fork condition. It delegate to getMethodById to lookup method.

    Definition Classes
    STypeCompanion
    See also

    getMethodById

  29. val methods: Seq[SMethod]

    List of methods defined for instances of this type.

    List of methods defined for instances of this type.

    Definition Classes
    SNumericTypeSTypeCompanion
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. val reflection: InterpreterReflection.type

    Force initialization of reflection.

    Force initialization of reflection.

    Definition Classes
    STypeCompanion
  34. def reprClass: RClass[_]

    Since this object is not used in SMethod instances.

    Since this object is not used in SMethod instances.

    Definition Classes
    SNumericTypeSTypeCompanion
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. val tNum: STypeVar

    Type variable used in generic signatures of method descriptors.

  37. lazy val thisRClass: RClass[_]

    Represents class of this.

    Represents class of this.

    Definition Classes
    STypeCompanion
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. def typeId: TypeCode

    Type identifier to use in method serialization

    Type identifier to use in method serialization

    Definition Classes
    SNumericTypeSTypeCompanion
  40. def typeName: String

    If this is SType instance then returns the name of the corresponding RType.

    If this is SType instance then returns the name of the corresponding RType. Otherwise returns the name of type companion object (e.g. SCollection).

    Definition Classes
    STypeCompanion
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from STypeCompanion

Inherited from AnyRef

Inherited from Any

Ungrouped