@Override
    public void write(DataOutput out) throws IOException {
        sort.write(out);
        sortPriority.write(out);
        out.writeByte(ObjectUtil.getId(value.getClass()));
        value.write(out);
    }
@ Override public void write ( DataOutput out ) throws IOException { sort . write ( out ) ; sortPriority . write ( out ) ; out . writeByte ( ObjectUtil . getId ( value . getClass ( ) ) ) ; value . write ( out ) ; }
{@inheritDoc}