Package org.jmanikin.core
Class Value.ValueImpl<W extends World<W>,V>
java.lang.Object
org.jmanikin.core.Value.ValueImpl<W,V>
- Type Parameters:
W- the World typeV- the Value type
public static final class Value.ValueImpl<W extends World<W>,V> extends java.lang.Object implements Value<W,V>
Default implementation.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Winit()Returns a pristine new World of type W<O> Value<W,O>obj(Id<? extends O> id)Returns the current Object O value, given an id.<O> Value<W,O>old(Id<? extends O> id)Returns the old Object O value, given an id.<I extends Id<O>, O, E>
Value<W,E>send(I id, Message<I,O,E> msg)Returns the effect Value E, after sending a Message to Object O, given an Object identifier.Vvalue()Wworld()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ValueImpl
-
-
Method Details
-
world
-
value
-
init
Description copied from interface:WorldReturns a pristine new World of type W -
obj
Description copied from interface:WorldReturns the current Object O value, given an id. -
old
Description copied from interface:WorldReturns the old Object O value, given an id. -
send
Description copied from interface:WorldReturns the effect Value E, after sending a Message to Object O, given an Object identifier.
-