@Override public void writeExternal(ObjectOutput out) throws IOException {
  super.writeExternal(out);
  out.writeDouble(knnDistance);
}

@ Override public void writeExternal ( ObjectOutput out ) throws IOException { super . writeExternal ( out ) ; out . writeDouble ( knnDistance ) ; }
calls the super method and writes the knn distance of this entry to the specified stream .
