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

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