Interface FieldVectorPreservingVisitor<T extends FieldElement<?>>
-
- Type Parameters:
T- the type of the field elements
public interface FieldVectorPreservingVisitor<T extends FieldElement<?>>
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.- Since:
- 3.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tend()End visiting a vector.voidstart(int dimension, int start, int end)Start visiting a vector.voidvisit(int index, T value)Visit one entry of the vector.
-
-
-
Method Detail
-
start
void start(int dimension, int start, int end)
Start visiting a vector. This method is called once, before any entry of the vector is visited.- Parameters:
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)
-
visit
void visit(int index, T value)
Visit one entry of the vector.- Parameters:
index- the index of the entry being visitedvalue- the value of the entry being visited
-
-