@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
  super.readExternal(in);
  isLeaf=in.readBoolean();
  numEntries=in.readInt();
}

@ Override public void readExternal ( ObjectInput in ) throws IOException , ClassNotFoundException { super . readExternal ( in ) ; isLeaf = in . readBoolean ( ) ; numEntries = in . readInt ( ) ; }
reads the id of this node , the numentries and the entries array from the specified stream .
