|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStateIntVector
Describes an search vector with states (describing some history of the data structure).
Field Summary | |
---|---|
static int |
MIN_CAPACITY
Minimal capacity of a vector |
Method Summary | |
---|---|
void |
add(int i)
Adds a new search at the end of the vector. |
int |
get(int index)
Returns the index th element of the vector. |
boolean |
isEmpty()
Checks if the vector is empty. |
void |
removeLast()
removes the search at the end of the vector. |
int |
set(int index,
int val)
Assigns a new value val to the element index . |
int |
size()
Returns the current size of the stored search vector. |
Field Detail |
---|
static final int MIN_CAPACITY
Method Detail |
---|
int size()
boolean isEmpty()
void add(int i)
i
- The search to add.void removeLast()
int get(int index)
index
th element of the vector.
int set(int index, int val)
val
to the element index
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |