MemorySpace

case class MemorySpace(name: String, members: Map[String, Cell], parent: Option[MemorySpace])

Immutable Memory Area

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def fetch(path: CellPath): Option[Cell]
def get(id: String): Option[Cell]
def put(id: String, value: Cell): MemorySpace
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

Definition Classes
Any
def tryFetch(path: CellPath): Either[Throwable, Cell]
def tryGet(id: String): Either[Throwable, Cell]
def tryPatch(path: CellPath, value: Cell): Either[Throwable, MemorySpace]
def tryPop(): Either[Throwable, MemorySpace]
def tryUpdate(id: String, value: Cell): Either[Throwable, MemorySpace]
def update(id: String, value: Cell): Option[MemorySpace]

Inherited methods

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