public class ConstantStateGenerator extends java.lang.Object implements StateGenerator
Constructor and Description |
---|
ConstantStateGenerator(State src)
This class takes a source state as input as returns copies of it for every call of generateState().
|
Modifier and Type | Method and Description |
---|---|
State |
generateState()
Returns a new state object.
|
protected State src
public ConstantStateGenerator(State src)
src
- the source state of which to return copiespublic State generateState()
StateGenerator
generateState
in interface StateGenerator