@Override public ByteBuffer putDouble(double value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.DOUBLE; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeLong(offset + position, Double.doubleToRawLongBits(value), order); position = newPosition; return this; }
@Override public ByteBuffer putDouble(int index, double value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.DOUBLE); this.block.pokeLong(offset + index, Double.doubleToRawLongBits(value), order); return this; }
@Override public ByteBuffer putLong(int index, long value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.LONG); this.block.pokeLong(offset + index, value, order); return this; }
@Override public ByteBuffer putLong(long value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.LONG; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeLong(offset + position, value, order); position = newPosition; return this; }
@Override public ByteBuffer putDouble(double value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.DOUBLE; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeLong(offset + position, Double.doubleToRawLongBits(value), order); position = newPosition; return this; }
@Override public ByteBuffer putDouble(double value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.DOUBLE; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeLong(offset + position, Double.doubleToRawLongBits(value), order); position = newPosition; return this; }
@Override public ByteBuffer putDouble(double value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.DOUBLE; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeLong(offset + position, Double.doubleToRawLongBits(value), order); position = newPosition; return this; }
@Override public ByteBuffer putDouble(int index, double value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.DOUBLE); this.block.pokeLong(offset + index, Double.doubleToRawLongBits(value), order); return this; }
@Override public ByteBuffer putDouble(double value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.DOUBLE; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeLong(offset + position, Double.doubleToRawLongBits(value), order); position = newPosition; return this; }
@Override public ByteBuffer putDouble(int index, double value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.DOUBLE); this.block.pokeLong(offset + index, Double.doubleToRawLongBits(value), order); return this; }
@Override public ByteBuffer putDouble(int index, double value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.DOUBLE); this.block.pokeLong(offset + index, Double.doubleToRawLongBits(value), order); return this; }
@Override public ByteBuffer putDouble(int index, double value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.DOUBLE); this.block.pokeLong(offset + index, Double.doubleToRawLongBits(value), order); return this; }
@Override public ByteBuffer putLong(int index, long value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.LONG); this.block.pokeLong(offset + index, value, order); return this; }
@Override public ByteBuffer putLong(long value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.LONG; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeLong(offset + position, value, order); position = newPosition; return this; }
@Override public ByteBuffer putLong(int index, long value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.LONG); this.block.pokeLong(offset + index, value, order); return this; }
@Override public ByteBuffer putLong(long value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.LONG; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeLong(offset + position, value, order); position = newPosition; return this; }
@Override public ByteBuffer putLong(long value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.LONG; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeLong(offset + position, value, order); position = newPosition; return this; }
@Override public ByteBuffer putLong(int index, long value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.LONG); this.block.pokeLong(offset + index, value, order); return this; }
@Override public ByteBuffer putLong(long value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.LONG; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeLong(offset + position, value, order); position = newPosition; return this; }
@Override public ByteBuffer putLong(int index, long value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.LONG); this.block.pokeLong(offset + index, value, order); return this; }