package sssj.index;

import java.util.Map;

import sssj.base.Vector;

public interface Index {

  /**
   * Queries the current index with the vector passed as parameter.
   * 
   * @param v
   *          the query vector
   * @param addToIndex
   *          a boolean indicating whether to add the query vector to the index
   * @return the matchings between the previously indexed vectors and the query
   */
  public abstract Map<Long, Double> queryWith(final Vector v, final boolean addToIndex);

  /**
   * Returns the size of the index in number of vectors.
   * 
   * @return the number of vectors indexed
   */
  public abstract int size();
}
@@ -412,25 +412,16 @@
  public 
-abstract 
 Map%3CLong
@@ -615,17 +615,8 @@
 lic 
-abstract 
 int 

Remove abstract from interface declaration