float
value from this stream.
@return the next float
value from the source stream.
@throws IOException If a problem occurs reading from this stream.
@see DataOutput#writeFloat(float)
readFloat
method of DataInput
. Bytes for this operation are read from the contained input stream.
@return the next four bytes of this input stream, interpreted as afloat
.
@exception EOFException if this input stream reaches the end beforereading four bytes.
@exception IOException the stream has been closed and the containedinput stream does not support reading after close, or another I/O error occurs.
@see java.io.DataInputStream#readInt()
@see java.lang.Float#intBitsToFloat(int)
ObjectOutputStream.writeFloat()
@throws IOException If an IO exception happened when reading the primitive data.
float
value from this stream.
@return float the next float
value from the source stream.
@throws IOException If a problem occurs reading from this DataInputStream.
@see DataOutput#writeFloat(float)
float
. The bit offset within the stream is reset to zero before the read occurs. @return a float value from the stream. @exception java.io.EOFException if the stream reaches the end beforereading all the bytes. @exception IOException if an I/O error occurs. @see #getByteOrder
SQLInputImpl
object as a float
in the Java programming language. This method does not perform type-safe checking to determine if the returned type is the expected type; this responsibility is delegated to the UDT mapping as defined by a SQLData
implementation.
@return the next attribute in this SQLInputImpl
object;if the value is SQL NULL
, return null
@throws SQLException if the read position is located at an invalidposition or if there are no more values in the stream
float
from the bytes message stream.
@return the next four bytes from the bytes message stream, interpreted as a float
@throws JMSException if the JMS provider fails to read the message due to some internal error.
@throws MessageEOFException if unexpected end of bytes stream has been reached.
@throws MessageNotReadableException if the message is in write-only mode.
float
from the stream message.
@return a float
value from the stream message
@throws JMSException if the JMS provider fails to read the messagedue to some internal error.
@throws MessageEOFException if unexpected end of message stream hasbeen reached.
@throws MessageFormatException if this type conversion is invalid.
@throws MessageNotReadableException if the message is in write-onlymode.
float
from the bytes message stream.
@return the next four bytes from the bytes message stream, interpreted asa float
@throws JMSException if the JMS provider fails to read the message due tosome internal error.
@throws MessageEOFException if unexpected end of bytes stream has beenreached.
@throws MessageNotReadableException if the message is in write-only mode.
float
from the stream message.
@return a float
value from the stream message
@throws JMSException if the JMS provider fails to read the message due tosome internal error.
@throws MessageEOFException if unexpected end of message stream has beenreached.
@throws MessageFormatException if this type conversion is invalid.
@throws MessageNotReadableException if the message is in write-only mode.
float
from the bytes message stream.
@return the next four bytes from the bytes message stream, interpreted as a float
@throws JMSException if the JMS provider fails to read the message due to some internal error.
@throws MessageEOFException if unexpected end of bytes stream has been reached.
@throws MessageNotReadableException if the message is in write-only mode.
float
from the stream message.
@return a float
value from the stream message
@throws JMSException if the JMS provider fails to read the messagedue to some internal error.
@throws MessageEOFException if unexpected end of message stream hasbeen reached.
@throws MessageFormatException if this type conversion is invalid.
@throws MessageNotReadableException if the message is in write-onlymode.
DataInput
float
from this file. This method reads an int
value as if by the readInt
method and then converts that int
to a float
using the intBitsToFloat
method in class Float
. This method blocks until the four bytes are read, the end of the stream is detected, or an exception is thrown.
@return the next four bytes of this file, interpreted as afloat
.
@throws EOFException if this file reaches the end before readingfour bytes.
@throws IOException if an I/O error occurs.
@see java.io.RandomAccessFile#readInt()
@see java.lang.Float#intBitsToFloat(int)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|