class SparseFieldVector implements FieldVector<T>, Serializable {

    protected void checkVectorDimensions(int n)
        throws DimensionMismatchException {
        if (getDimension() != n) {
            throw new DimensionMismatchException(getDimension(), n);
        }
    }

    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);

}