de.sciss.lucre.confluent.TxnRandom

Persistent

sealed trait Persistent[S <: stm.Sys[S]] extends TxnRandom[TxnRandom.Persistent.S.Tx] with Mutable[TxnRandom.Persistent.S.ID, TxnRandom.Persistent.S.Tx]

A random number generator that can be persisted (written and read).

Linear Supertypes
Mutable[S.ID, S.Tx], Disposable[S.Tx], Writable, Identifiable[S.ID], TxnRandom[S.Tx], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Persistent
  2. Mutable
  3. Disposable
  4. Writable
  5. Identifiable
  6. TxnRandom
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def dispose()(implicit tx: S.Tx): Unit

    Definition Classes
    Disposable
  2. abstract def id: S.ID

    Definition Classes
    Identifiable
  3. abstract def nextBoolean()(implicit tx: S.Tx): Boolean

    Generates a random Boolean value.

    Generates a random Boolean value.

    Definition Classes
    TxnRandom
  4. abstract def nextDouble()(implicit tx: S.Tx): Double

    Generates a random Double value, uniformly distributed between 0.0 (inclusive) and 1.0 (exclusive).

    Generates a random Double value, uniformly distributed between 0.0 (inclusive) and 1.0 (exclusive).

    Definition Classes
    TxnRandom
  5. abstract def nextFloat()(implicit tx: S.Tx): Float

    Generates a random Float value, uniformly distributed between 0.0f (inclusive) and 1.0f (exclusive).

    Generates a random Float value, uniformly distributed between 0.0f (inclusive) and 1.0f (exclusive).

    Definition Classes
    TxnRandom
  6. abstract def nextInt(n: Int)(implicit tx: S.Tx): Int

    Generates a random Int value in the range of 0 (inclusive) until the specified value n (exclusive).

    Generates a random Int value in the range of 0 (inclusive) until the specified value n (exclusive).

    Definition Classes
    TxnRandom
  7. abstract def nextInt()(implicit tx: S.Tx): Int

    Generates a random Int value in the range Int.MinValue to Int.MaxValue.

    Generates a random Int value in the range Int.MinValue to Int.MaxValue.

    Definition Classes
    TxnRandom
  8. abstract def nextLong()(implicit tx: S.Tx): Long

    Generates a random Long value in the range Long.MinValue to Long.MaxValue.

    Generates a random Long value in the range Long.MinValue to Long.MaxValue.

    WARNING: Because it uses the same algorithm as java.util.Random, with a seed of only 48 bits, this function will not return all possible long values!

    Definition Classes
    TxnRandom
  9. abstract def setSeed(seed: Long)(implicit tx: S.Tx): Unit

    Resets the internal seed value to the given argument.

    Resets the internal seed value to the given argument.

    Definition Classes
    TxnRandom
  10. abstract def write(out: DataOutput): Unit

    Definition Classes
    Writable

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(that: Any): Boolean

    Definition Classes
    Identifiable → AnyRef → Any
  10. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    Identifiable → AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toString(): String

    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Mutable[S.ID, S.Tx]

Inherited from Disposable[S.Tx]

Inherited from Writable

Inherited from Identifiable[S.ID]

Inherited from TxnRandom[S.Tx]

Inherited from AnyRef

Inherited from Any

Ungrouped