Exemplo n.º 1
0
 /**
  * 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);
 }
Exemplo n.º 2
0
 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());
 }
Exemplo n.º 4
0
 /**
  * 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);
 }