class SparseFieldVector implements FieldVector<T>, Serializable {

    public T walkInDefaultOrder(final FieldVectorPreservingVisitor<T> visitor) {
        final int dim = getDimension();
        visitor.start(dim, 0, dim - 1);
        for (int i = 0; i < dim; i++) {
            visitor.visit(i, getEntry(i));
        }
        return visitor.end();
    }

    public  SparseFieldVector(Field<T> field);
    public  SparseFieldVector(Field<T> field, int dimension);
    protected  SparseFieldVector(SparseFieldVector<T> v, int resize);
    public  SparseFieldVector(Field<T> field, int dimension, int expectedSize);
    public  SparseFieldVector(Field<T> field, T[] values);
    public  SparseFieldVector(SparseFieldVector<T> v);

}