|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RealVectorPreservingVisitor
This interface defines a visitor for the entries of a vector. Visitors implementing this interface do not alter the entries of the vector being visited.
| Method Summary | |
|---|---|
double |
end()
End visiting a vector. |
void |
start(int dimension,
int start,
int end)
Start visiting a vector. |
void |
visit(int index,
double value)
Visit one entry of the vector. |
| Method Detail |
|---|
void start(int dimension,
int start,
int end)
dimension - the size of the vectorstart - the index of the first entry to be visitedend - the index of the last entry to be visited (inclusive)
void visit(int index,
double value)
index - the index of the entry being visitedvalue - the value of the entry being visiteddouble end()
RealVector.walkInDefaultOrder(RealVectorPreservingVisitor),
RealVector.walkInDefaultOrder(RealVectorPreservingVisitor, int, int),
RealVector.walkInOptimizedOrder(RealVectorPreservingVisitor)
or
RealVector.walkInOptimizedOrder(RealVectorPreservingVisitor, int, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||