CrossMapping

kreuzberg.RuntimeState.CrossMapping
case class CrossMapping[S1, S2](from: RuntimeProperty[S1], mapFn: S1 => S2, contraMap: S2 => S1) extends RuntimeProperty[S2]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait RuntimeProperty[S2]
trait RuntimeState[S2]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def read(): S2

Read the state from Handler

Read the state from Handler

Attributes

Definition Classes
override def set(value: S2): Unit

Sets the value.

Sets the value.

Attributes

Definition Classes

Inherited methods

def map[S2](f: S2 => S2): RuntimeState[S2]

Attributes

Inherited from:
RuntimeState
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def xmap[U](mapFn: S2 => U, contraMapFn: U => S2): RuntimeProperty[U]

Maps and Contra Maps the value.

Maps and Contra Maps the value.

Attributes

Inherited from:
RuntimeProperty