|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface State
This interface represent a state in the system.
Any implementation of this interface must be immutable.
Method Summary | |
---|---|
State |
impact(java.util.Collection<State> states)
Calculates and returns the collective impact of applying the input states to the current environment. |
boolean |
partiallyEquals(State state)
Checks whether this state contains all state descriptors of the input state. |
boolean |
sameStateSpace(State other)
Verifies if the specified state belongs to the same state space as this. |
Method Detail |
---|
State impact(java.util.Collection<State> states)
states
to the current environment.
states
- the input states
boolean sameStateSpace(State other)
Returns true
if this state and other
are in
the same state space, false
otherwise.
other
- the other state
true
if in same state space, false
otherwise.boolean partiallyEquals(State state)
state
- input state
true
if all state descriptors are included
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |