Randi

scalation.scala2d.Colors.Randi
case class Randi(a: Int, b: Int)

The Randi inner case class provides an implementation of the 'igen' method eliminating any dependency of the 'random' package.

Value parameters

a

the lower bound (inclusive)

b

the upper bound (inclusive)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def igen: Int

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val diff: Int
val rng: Random