|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStateVector<E>
Created by IntelliJ IDEA. User: julien Date: 12 juil. 2007 Time: 10:25:47
Field Summary | |
---|---|
static int |
MIN_CAPACITY
Minimal capacity of a vector |
Method Summary | |
---|---|
boolean |
add(E i)
Adds a new search at the end of the vector. |
void |
ensureCapacity(int minCapacity)
Checks if the capacity is great enough, else the capacity is extended. |
E |
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. |
E |
set(int index,
E 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 ensureCapacity(int minCapacity)
minCapacity
- the necessary capacity.boolean add(E i)
i
- The search to add.void removeLast()
E get(int index)
index
th element of the vector.
E set(int index, E val)
val
to the element index
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |