code: @Override
      public void write(DataOutput out) throws IOException {
          out.writeInt(values.size());
          for (ValueWritable vw : values) {
              vw.write(out);
          }
      }
docs: {@inheritDoc}