Package io.mats3.serial
Interface MatsTrace.StackState<Z>
public static interface MatsTrace.StackState<Z>
The State instances (of type Z), along with the height of the stack the state relates to.
-
Method Summary
Modifier and TypeMethodDescriptiongetExtraState
(String key) Retrieves "extra state" on this StackState.int
getState()
void
setExtraState
(String key, Z value) Sets "extra state" on this StackState.
-
Method Details
-
getHeight
int getHeight()- Returns:
- which stack height this
getState()
belongs to.
-
getState
Z getState()- Returns:
- the state at stack height
getHeight()
.
-
setExtraState
Sets "extra state" on this StackState. -
getExtraState
Retrieves "extra state" on this StackState.
-