Object/Trait

sigmastate

SNumericType

Related Docs: trait SNumericType | package sigmastate

Permalink

object SNumericType extends STypeCompanion

Linear Supertypes
STypeCompanion, AnyRef, Any
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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val ToBigIntMethod: SMethod

    Permalink
  5. val ToBitsMethod: SMethod

    Permalink
  6. val ToBits_CostKind: FixedCost

    Permalink

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

  7. val ToByteMethod: SMethod

    Permalink

    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

    Permalink
  9. val ToBytes_CostKind: FixedCost

    Permalink

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

  10. val ToIntMethod: SMethod

    Permalink
  11. val ToLongMethod: SMethod

    Permalink
  12. val ToShortMethod: SMethod

    Permalink
  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 }]

    Permalink

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

  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. val castMethods: Array[String]

    Permalink

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

  16. def clone(): AnyRef

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

    Permalink

    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. def coster: Option[CosterFactory]

    Permalink

    CosterFactory associated with this type.

    CosterFactory associated with this type.

    Definition Classes
    STypeCompanion
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def getMethodById(methodId: Byte): Option[SMethod]

    Permalink

    Lookup method by its id in this type.

    Lookup method by its id in this type.

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

    Permalink

    Looks up the method descriptor by the method name.

    Looks up the method descriptor by the method name.

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

    Permalink

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

  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  27. def isCastMethod(name: String): Boolean

    Permalink

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

  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. def methodById(methodId: Byte): SMethod

    Permalink

    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

  30. val methods: Seq[SMethod]

    Permalink

    List of methods defined for instances of this type.

    List of methods defined for instances of this type.

    Definition Classes
    SNumericTypeSTypeCompanion
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. def reprClass: Class[_]

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  36. val tNum: STypeVar

    Permalink

    Type variable used in generic signatures of method descriptors.

  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. def typeId: TypeCode

    Permalink

    Type identifier to use in method serialization

    Type identifier to use in method serialization

    Definition Classes
    SNumericTypeSTypeCompanion
  39. def typeName: String

    Permalink

    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
  40. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from STypeCompanion

Inherited from AnyRef

Inherited from Any

Ungrouped