private void readObject(java.io.ObjectInputStream s) throws java.io.IOException, ClassNotFoundException {
  s.defaultReadObject();
  int n=s.readInt();
  attrs=(n >= 1) ? new Hashtable<String,Attribute>(n * 2) : new Hashtable<String,Attribute>(2);
  while (--n >= 0) {
    put((Attribute)s.readObject());
  }
}

private void readObject ( java . io . ObjectInputStream s ) throws java . io . IOException , ClassNotFoundException { s . defaultReadObject ( ) ; int n = s . readInt ( ) ; attrs = ( n >= 1 ) ? new Hashtable < String , Attribute > ( n * 2 ) : new Hashtable < String , Attribute > ( 2 ) ; while ( -- n >= 0 ) { put ( ( Attribute ) s . readObject ( ) ) ; } }
overridden to avoid exposing implementation details .
