|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IStateInt
Describes an integer with states (describing some history of the data structure).
| Field Summary | |
|---|---|
static int |
MAXINT
Maximum value an integer can be equal to. |
static int |
MININT
Minimum value an integer can be equal to. |
static int |
UNKNOWN_INT
Value for an unknown integer. |
| Method Summary | |
|---|---|
void |
add(int delta)
Modifying a StoredInt by an increment. |
int |
get()
Returns the current value according to the current world. |
Environment |
getEnvironment()
Retrieving the environment. |
boolean |
isKnown()
Checks if a value is currently stored. |
void |
set(int y)
Modifies the value and stores if needed the former value on the trailing stack. |
| Field Detail |
|---|
static final int UNKNOWN_INT
static final int MININT
static final int MAXINT
| Method Detail |
|---|
int get()
boolean isKnown()
void set(int y)
y - the new value of the variable.void add(int delta)
delta - the value to add to the current value.Environment getEnvironment()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||