class State[T] extends AnyRef
A scalar item of abstract state machine state holding a value of
type T and called sname.
- Source
- Machine.scala
- Alphabetic
- By Inheritance
- State
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new State(sname: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
:=(t: T): 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. -
def
=:=(t: T): Boolean
Equality on the underlying value.
Equality on the underlying value. If this state item is undefined then it's not equal to anything.
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
var
_value: Option[T]
The value of this item of state.
The value of this item of state.
Nonemeans undefined.- Attributes
- protected
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
change(t: T): Unit
Change this item of state to the value
t.Change this item of state to the value
t. The change occurs immediately. -
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: Boolean
Is this state item undefined or not?
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val sname: String
-
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(): Unit
Make this state item undefined.
-
def
value: T
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.
-
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( ... )