Packages

package number

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. trait BaseNumbers[T] extends AnyRef
  2. trait BasicArithmetic[N] extends AnyRef

  3. trait Bounded[T] extends AnyRef

    Represents number types that are bounded by minimum and maximum values

    Represents number types that are bounded by minimum and maximum values

    T

    Type of the numbers

  4. sealed abstract class Int32 extends SignedNumber[Int32]

    Represents a int32_t in C

  5. sealed abstract class Int64 extends SignedNumber[Int64]

    Represents a int64_t in C

  6. sealed abstract class Number[T <: Number[T]] extends NetworkElement with Ordered[T] with BasicArithmetic[T]

    This abstract class is meant to represent a signed and unsigned number in C This is useful for dealing with codebases/protocols that rely on C's unsigned integer types

  7. trait NumberCache[T] extends AnyRef

    Helper trait to cache data types that represent numbers Examples are org.bitcoins.core.script.constant.ScriptNumber UInt32 UInt64 etc

  8. trait NumberCacheBigInt[T] extends NumberCache[T]

    Number cache, except for scala BigInt

  9. trait NumberObject[T <: Number[T]] extends BaseNumbers[T]

    Should be implemented inside of any companion object for a number

  10. sealed abstract class SignedNumber[T <: Number[T]] extends Number[T]

    Represents a signed number in our number system Instances of this are Int32 or Int64

  11. sealed abstract class UInt16 extends UnsignedNumber[UInt16]

    Represents a uint16_t in C

  12. sealed abstract class UInt32 extends UnsignedNumber[UInt32]

    Represents a uint32_t in C

  13. sealed abstract class UInt5 extends UnsignedNumber[UInt5]

    This number type is useful for dealing with org.bitcoins.core.util.Bech32 related applications.

    This number type is useful for dealing with org.bitcoins.core.util.Bech32 related applications. The native encoding for Bech32 is a 5 bit number which is what this abstraction is meant to be used for

  14. sealed abstract class UInt64 extends UnsignedNumber[UInt64]

    Represents a uint64_t in C

  15. sealed abstract class UInt8 extends UnsignedNumber[UInt8]
  16. sealed abstract class UnsignedNumber[T <: Number[T]] extends Number[T]

    Represents an unsigned number in our number system Instances of this are UInt32 or UInt64

Value Members

  1. object Int32 extends Factory[Int32] with NumberObject[Int32] with Bounded[Int32] with NumberCache[Int32]
  2. object Int64 extends Factory[Int64] with NumberObject[Int64] with Bounded[Int64] with NumberCache[Int64]
  3. object UInt16 extends Factory[UInt16] with NumberObject[UInt16] with Bounded[UInt16] with NumberCache[UInt16]
  4. object UInt32 extends Factory[UInt32] with NumberObject[UInt32] with Bounded[UInt32] with NumberCache[UInt32]
  5. object UInt5 extends Factory[UInt5] with NumberObject[UInt5] with Bounded[UInt5] with NumberCache[UInt5]
  6. object UInt64 extends Factory[UInt64] with NumberObject[UInt64] with Bounded[UInt64] with NumberCacheBigInt[UInt64]
  7. object UInt8 extends Factory[UInt8] with NumberObject[UInt8] with Bounded[UInt8] with NumberCache[UInt8]

Ungrouped