|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Index
An Index is a set with an enumeration. We use it in all
our la-classes.
The main methods are iterator() and size().
The Iterator comes from the java.util package
and is part of the Collections-API.
If you've already got an Index you should create new matrices
and new Vectors with the createMatrix() and
createVector() Methods.
The toList() is used primarily internal.
Iterator| Method Summary | |
|---|---|
Matrix |
createMatrix()
Creates a new Matrix indexed by this Index. |
Vector |
createVector()
Creates a new Vector indexed by this Index. |
java.util.Iterator |
iterator()
This returns a enumeration of the index. |
int |
size()
This returns the cardinality of the index. |
java.util.List |
toList()
|
| Method Detail |
|---|
java.util.Iterator iterator()
int size()
Matrix createMatrix()
Matrix indexed by this Index.
Matrix indexed by this IndexVector createVector()
Vector indexed by this Index.
Vector indexed by this Indexjava.util.List toList()
java.util.List containing the index.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||