@Override
    protected ByteBuffer toByteBuffer(Object value) {
        if ( ! (value instanceof BluefloodSetRollup) ) {
            throw new IllegalArgumentException("toByteBuffer(): expecting BluefloodSetRollup class but got " + value.getClass().getSimpleName());
        }
        BluefloodSetRollup setRollup = (BluefloodSetRollup) value;
        return serDes.serialize(setRollup);
    }
@Override
    protected ByteBuffer toByteBuffer(Object value) {
        if ( ! (value instanceof BluefloodSetRollup) ) {
            throw new IllegalArgumentException("toByteBuffer(): expecting BluefloodSetRollup class but got " + value.getClass().getSimpleName());
        }
        BluefloodSetRollup setRollup = (BluefloodSetRollup) value;
        return serDes.serialize(setRollup);
    }
@ Override protected ByteBuffer toByteBuffer ( Object value ) { if ( ! ( value instanceof BluefloodSetRollup ) ) { throw new IllegalArgumentException ( "toByteBuffer(): expecting BluefloodSetRollup class but got " + value . getClass ( ) . getSimpleName ( ) ) ; } BluefloodSetRollup setRollup = ( BluefloodSetRollup ) value ; return serDes . serialize ( setRollup ) ; }
Provides a way for the sub class to get a {@link java.nio.ByteBuffer}
representation of a certain Rollup object.

@param value
@return
Provides a way for the sub class to get a { @link java . nio . ByteBuffer } representation of a certain Rollup object .