LazyValue

case class LazyValue[T](t: () => T)

This class simply encapsulates a lazy value which will be only evaluated once

See also:

org.specs2.specification.process.RandomSequentialExecutor for an example of use

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Concrete fields

lazy val value: T