/** * Reads a 32-bit <code>float</code> value from this stream. * * @return the next <code>float</code> value from the source stream. * * @throws IOException * If a problem occurs reading from this DataInputStream. * */ @Override public final float readFloat() throws IOException { return Float.intBitsToFloat(readInt()); }
/** * Reads a 32-bit <code>float</code> value from this stream. * * @return the next <code>float</code> value from the source stream. * * @throws IOException * If a problem occurs reading from this DataInputStream. * */ @Override public final float readFloat() throws IOException { return Float.intBitsToFloat(readInt()); }
assertEquals((short)(r.nextInt() & 0xFFFF), in.readShort()); break; case 2: assertEquals(r.nextInt(), in.readInt()); break; case 3: assertEquals(r.nextLong(), in.readLong()); break;
/** * Reads a 32-bit <code>float</code> value from this stream. * * @return the next <code>float</code> value from the source stream. * * @throws IOException * If a problem occurs reading from this DataInputStream. * */ public final float readFloat() throws IOException { return Float.intBitsToFloat(readInt()); }
/** * Reads a 32-bit <code>float</code> value from this stream. * * @return the next <code>float</code> value from the source stream. * * @throws IOException * If a problem occurs reading from this DataInputStream. * */ @Override public final float readFloat() throws IOException { return Float.intBitsToFloat(readInt()); }