double
value, which is comprised of eight bytes, to the output stream. It does this as if it first converts this double
value to a long
in exactly the manner of the Double.doubleToLongBits
method and then writes the long
value in exactly the manner of the writeLong
method. The bytes written by this method may be read by the readDouble
method of interface DataInput
, which will then return a double
equal to v
.
@param v the double
value to be written.
@throws IOException if an I/O error occurs.
value
)into the receiver's underlying stream.
@param value The primitive data to write
@throws IOException If an IO exception happened when writing the primitive data.
double
value, which is comprised of four bytes, to the output stream. It does this as if it first converts this double
value to an long
in exactly the manner of the Double.doubleToLongBits
method and then writes the long value in exactly the manner of the writeLong
method. If the bit offset within the stream is non-zero, the remainder of the current byte is padded with 0s and written out first. The bit offset will be 0 after the write.
@param v a double
containing the value to bewritten.
@exception IOException if an I/O error occurs.
double
argument to a long
using the doubleToLongBits
method in class Double
, and then writes that long
value to the bytes message stream as an 8-byte quantity, high byte first.
@param value the double
value to be written
@throws JMSException if the JMS provider fails to write the message due to some internal error.
@throws MessageNotWriteableException if the message is in read-only mode.
double
to the stream message.
@param value the double
value to be written
@throws JMSException if the JMS provider fails to write the messagedue to some internal error.
@throws MessageNotWriteableException if the message is in read-onlymode.
double
argument to a long
using the doubleToLongBits
method in class Double
, and then writes that long
value to the bytes message stream as an 8-byte quantity, high byte first.
@param value the double
value to be written
@throws JMSException if the JMS provider fails to write the message dueto some internal error.
@throws MessageNotWriteableException if the message is in read-only mode.
double
to the stream message.
@param value the double
value to be written
@throws JMSException if the JMS provider fails to write the message dueto some internal error.
@throws MessageNotWriteableException if the message is in read-only mode.
double
argument to a long
using the doubleToLongBits
method in class Double
, and then writes that long
value to the bytes message stream as an 8-byte quantity, high byte first.
@param value the double
value to be written
@throws JMSException if the JMS provider fails to write the message due to some internal error.
@throws MessageNotWriteableException if the message is in read-only mode.
double
to the stream message.
@param value the double
value to be written
@throws JMSException if the JMS provider fails to write the messagedue to some internal error.
@throws MessageNotWriteableException if the message is in read-onlymode.
DataOutput
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|