@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
  super.readExternal(in);
  int k_max=in.readInt();
  knnDistances=new double[k_max];
  for (int i=0; i < k_max; i++) {
    knnDistances[i]=in.readDouble();
  }
}

@ Override public void readExternal ( ObjectInput in ) throws IOException , ClassNotFoundException { super . readExternal ( in ) ; int k_max = in . readInt ( ) ; knnDistances = new double [ k_max ] ; for ( int i = 0 ; i < k_max ; i ++ ) { knnDistances [ i ] = in . readDouble ( ) ; } }
calls the super method and reads the parameter k_max and knn distance of this entry from the specified input stream .
