public interface VectContainer extends Vect
Modifier and Type | Method and Description |
---|---|
VectContainer |
clone() |
boolean |
containsKey(int index)
Returns true if this container has a vect for the specified index.
|
Vect |
get(int index)
Get a vect for the specified index.
|
int[] |
getKeys()
Return a set of all indices that have been assigned to a value.
|
void |
put(int index,
Vect vect)
Save a vect for the specified index.
|
int |
size()
Returns the number of unique indices in this container.
|
add, constrain, dispose, multiplyInverseCovariance, postCondition, project
void put(int index, Vect vect)
index
- A unique integer for the requested vect.
Integers need not be consecutive. Use any valid integer.vect
- Vect for specified index.Vect get(int index)
index
- A unique integer for the requested vect.
Integers need not be consecutive.int size()
boolean containsKey(int index)
index
- Check for a Vect with this index.int[] getKeys()
VectContainer clone()