class ParamState[T, U] extends State[Map[T, U]]
A parameterised item of abstract state machine state holding values
of type U, associated with parameters of type T.
- Source
- Machine.scala
- Alphabetic
- By Inheritance
- ParamState
- State
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ParamState(psname: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
:=(t: Map[T, U]): Unit
Update this item of state to the value
t.Update this item of state to the value
t. The update is actually delayed until the end of the step when all updates in that step happen simultaneously (along with consistency checking). The state value only becomes defined when this latter process happens.- Definition Classes
- State
-
def
=:=(t: Map[T, U]): Boolean
Equality on the underlying value.
Equality on the underlying value. If this state item is undefined then it's not equal to anything.
- Definition Classes
- State
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
var
_value: Option[Map[T, U]]
The value of this item of state.
The value of this item of state.
Nonemeans undefined.- Attributes
- protected
- Definition Classes
- State
-
def
apply(t: T): ParamUpdater[T, U]
Return an updater for the value at parameter
t.Return an updater for the value at parameter
t. Used ass(t)this will return the value in the statesat parametert. Used ass(t) := uthis will update the value touat parametert. The update is actually delayed until the end of the step when all updates in that step happen simultaneously (along with consistency checking). The state value only becomes defined when this latter process happens. -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
change(t: T, u: U): Unit
Change this item of state to the value u at parameter
t.Change this item of state to the value u at parameter
t. The change occurs immediately. -
def
change(t: Map[T, U]): Unit
Change this item of state to the value
t.Change this item of state to the value
t. The change occurs immediately.- Definition Classes
- State
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isUndefined(t: T): Boolean
Is this state item undefined at
tor not ? -
def
isUndefined: Boolean
Is this state item undefined or not?
Is this state item undefined or not?
- Definition Classes
- State
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val psname: String
-
val
sname: String
- Definition Classes
- State
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
Make a printable representation for the contents of this state object.
Make a printable representation for the contents of this state object.
- Definition Classes
- State → AnyRef → Any
-
def
undefine(t: T): Unit
Make this state item undefined at
t. -
def
undefine(): Unit
Make this state item undefined.
Make this state item undefined.
- Definition Classes
- State
-
def
value(t: T): U
Return the value of this state item if it's defined at parameter
t.Return the value of this state item if it's defined at parameter
t. Otherwise abort execution. -
def
value: Map[T, U]
Return the value of this state item if it's defined.
Return the value of this state item if it's defined. Otherwise abort execution.
- Definition Classes
- State
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )