code: private synchronized void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException {
          in.defaultReadObject();
  
          // rebuild hash hashtable
          hash = new Hashtable<>();
          for (NameValue<N, V> nameValue : order) {
              putInHash(nameValue.name, nameValue.value);
          }
      }
docs: and rebuild hash hashtable