trait NumberGenerator extends AnyRef
Created by chris on 6/16/16.
- Alphabetic
- By Inheritance
- NumberGenerator
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bigInts: Gen[BigInt]
Chooses a BigInt in the ranges of 0 <= bigInt < 2^^64
- def bigIntsUInt64Range: Gen[BigInt]
- def bigSizeUInt: Gen[BigSizeUInt]
- def bitVector: Gen[BitVector]
Generates a bit vector
- def bool: Gen[Boolean]
Generates a random boolean
- def byte: Gen[Byte]
Generates an arbitrary Byte in Scala
- def bytes(num: Int): Gen[List[Byte]]
Generates the number of bytes specified by num
- def bytes: Gen[List[Byte]]
Generates a 100 byte sequence
- def bytevector(length: Int): Gen[ByteVector]
- def bytevector: Gen[ByteVector]
Generates an arbitrary ByteVector
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compactSizeUInts: Gen[CompactSizeUInt]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def genP: Gen[UInt8]
Generates a random GCS P parameter.
Generates a random GCS P parameter.
Bit parameter for GCS, cannot be more than 32 as we will have a number too large for a UInt64.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def int32s: Gen[Int32]
- def int64s: Gen[Int64]
- val ints: Gen[Int]
Random integers
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val negativeInts: Gen[Int]
Integers between Int.MinValue and -1
- def negativeLongs: Gen[Long]
Creates a number generator that generates negative long numbers
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def positiveBigInts: Gen[BigInt]
- val positiveInts: Gen[Int]
Integers between 0 and Int.MaxValue
- def positiveLongs: Gen[Long]
Creates a generator that generates positive long numbers
- def positiveLongsNoZero: Gen[Long]
Creates a generator for positive longs without the number zero
- def positiveScriptNumbers: Gen[ScriptNumber]
- def positiveShort: Gen[Short]
- def scriptNumbers: Gen[ScriptNumber]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def timeLockScriptNumbers: Gen[ScriptNumber]
The policy bounds for nTimeLock fields (see TxBuilder)
- def toString(): String
- Definition Classes
- AnyRef → Any
- def uInt16: Gen[UInt16]
- def uInt32s: Gen[UInt32]
Generates a number in the range 0 <= x <= 2 ^^32 - 1 then wraps it in a UInt32
- def uInt5: Gen[UInt5]
- def uInt5s: Gen[Seq[UInt5]]
- def uInt64: Gen[UInt64]
- def uInt64s: Gen[UInt64]
Generates a number in the range 0 <= x < 2^^64 then wraps it in a UInt64
- def uInt8: Gen[UInt8]
- def uInt8s: Gen[Seq[UInt8]]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()