public class DefaultSavedState extends Object
The class provides a uniform structured representation of the saved state consisting of
The exact meaning of the values stored in these fields is left to the discretion of the class instantiating this object.
Constructor and Description |
---|
DefaultSavedState(int resumptionPoint,
Object[] registers)
Constructs a new instance of
DefaultSavedState with the specified
resumptionPoint and registers . |
Modifier and Type | Method and Description |
---|---|
Object[] |
registers()
Returns a copy of the register state stored in this saved state, or
null
if the register state array stored in this saved state was null . |
int |
resumptionPoint()
Returns the resumption point stored in this saved state.
|
public DefaultSavedState(int resumptionPoint, Object[] registers)
DefaultSavedState
with the specified
resumptionPoint
and registers
.resumptionPoint
- the resumption pointregisters
- the registers, may be null
public int resumptionPoint()
public Object[] registers()
null
if the register state array stored in this saved state was null
.null
Copyright © 2016. All rights reserved.