@Override public Bytes writeFloat(int offset, float f) { checkWrite(offset, FLOAT); try { seekToOffset(offset); randomAccessFile.writeFloat(f); } catch (IOException e) { throw new RuntimeException(e); } return this; }
@Override public void writeFloat(float v) throws IOException { try { getRaf().writeFloat(v); } catch (IOException ioe) { handleException(); throw ioe; } }
public void writeFloat(float v) throws IOException { delegate.writeFloat(v); } public void writeDouble(double v) throws IOException { delegate.writeDouble(v); }
raf.writeLong((Long) value); } else if (binding == Float.class || binding == float.class) { raf.writeFloat((Float) value); } else if (binding == Double.class || binding == double.class) { raf.writeDouble((Double) value);
public void writeFloat(float v) throws IOException { raf.writeFloat(v); }
@Override public void writeFloat(final float v) throws IOException { raf.writeFloat(v); }
@Override public void writeFloat(float v) throws IOException { raf.writeFloat(v); }
@Override public void writeFloat(final float v) throws IOException { raf.writeFloat(v); }
@Override public void update(RandomAccessFile storedFile, int offset) { try { storedFile.seek(offset); storedFile.writeFloat(value); } catch (IOException e) { throw new RuntimeException(e); } } }
public synchronized void writeFloat(long seek, float value) throws IOException { super.seek(seek); super.writeFloat(value); buffer.clear(); }
@Override public Bytes writeFloat(int offset, float f) { checkWrite(offset, FLOAT); try { seekToOffset(offset); randomAccessFile.writeFloat(f); } catch (IOException e) { throw new RuntimeException(e); } return this; }
@Override public Bytes writeFloat(long offset, float f) { checkWrite(offset, FLOAT); try { seekToOffset(offset); randomAccessFile.writeFloat(f); } catch (IOException e) { throw new RuntimeException(e); } return this; }
@Override public Bytes writeFloat(long offset, float f) { checkWrite(offset, FLOAT); try { seekToOffset(offset); randomAccessFile.writeFloat(f); } catch (IOException e) { throw new RuntimeException(e); } return this; }
@Override public Bytes writeFloat(long offset, float f) { checkWrite(offset, FLOAT); try { seekToOffset(offset); randomAccessFile.writeFloat(f); } catch (IOException e) { throw new RuntimeException(e); } return this; }
@Override public Bytes writeFloat(long offset, float f) { checkWrite(offset, FLOAT); try { seekToOffset(offset); randomAccessFile.writeFloat(f); } catch (IOException e) { throw new RuntimeException(e); } return this; }
@Override public Bytes writeFloat(int offset, float f) { checkWrite(offset, FLOAT); try { seekToOffset(offset); randomAccessFile.writeFloat(f); } catch (IOException e) { throw new RuntimeException(e); } return this; }
@Override public void writeFloat(float v) throws IOException { try { getRaf().writeFloat(v); } catch (IOException ioe) { handleException(); throw ioe; } }
@Override public void writeFloat(float v) throws IOException { try { getRaf().writeFloat(v); } catch (IOException ioe) { handleException(); throw ioe; } }
@Override public void writeFloat(float v) throws IOException { try { getRaf().writeFloat(v); } catch (IOException ioe) { handleException(); throw ioe; } }
@Test(expected = FileReactiveAuditException.class) public void writeFloat() throws IOException { ReactiveAudit.off.commit(); try (RandomAccessFile rw = newRandomAccessFile()) { TestTools.strict.commit(); rw.writeFloat(0); } }