code: @Override
      public void write(DataOutput out) throws IOException {
          super.write(out);
          out.writeInt(sortMap.size());
          for (Entry<Integer, SortWritable> entry : sortMap.entrySet()) {
              entry.getValue().write(out);
          }
      }
docs: {@inheritDoc}