docs: @Override
    public void writeExternal(ObjectOutput out) throws IOException {
      super.writeExternal(out);
      // TODO: do we need to write/read the capacity?
      out.writeInt(entries.length);
      for(Entry entry : entries) {
        if(entry == null) {
          break;
        }
        entry.writeExternal(out);
      }
    }