/** * Emit this constant integer info object into the given data output stream. * * @param theDataOutput Data output stream. * @exception IOException Thrown if an I/O error occurred. */ void emit(DataOutput theDataOutput) throws IOException { super.emit(theDataOutput); theDataOutput.writeInt(myValue); }
public void writeTo(DataOutput dout) throws IOException { super.writeTo(dout); dout.writeFloat(mValue.floatValue()); }
public void writeTo(DataOutput dout) throws IOException { super.writeTo(dout); dout.writeShort(mStringConstant.getIndex()); }
/** * Emit this constant UTF-8 info object into the given data output stream. * * @param theDataOutput Data output stream. * @exception IOException Thrown if an I/O error occurred. */ void emit(DataOutput theDataOutput) throws IOException { super.emit(theDataOutput); theDataOutput.writeUTF(myString); }