@Override public ByteBuffer putFloat(int index, float value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.FLOAT); this.block.pokeInt(offset + index, Float.floatToRawIntBits(value), order); return this; }
@Override public ByteBuffer putFloat(float value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.FLOAT; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeInt(offset + position, Float.floatToRawIntBits(value), order); position = newPosition; return this; }
@Override public ByteBuffer putInt(int value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.INT; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeInt(offset + position, value, order); position = newPosition; return this; }
@Override public ByteBuffer putInt(int index, int value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.INT); this.block.pokeInt(offset + index, value, order); return this; }
@Override public ByteBuffer putFloat(int index, float value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.FLOAT); this.block.pokeInt(offset + index, Float.floatToRawIntBits(value), order); return this; }
@Override public ByteBuffer putFloat(float value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.FLOAT; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeInt(offset + position, Float.floatToRawIntBits(value), order); position = newPosition; return this; }
@Override public ByteBuffer putFloat(int index, float value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.FLOAT); this.block.pokeInt(offset + index, Float.floatToRawIntBits(value), order); return this; }
@Override public ByteBuffer putFloat(float value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.FLOAT; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeInt(offset + position, Float.floatToRawIntBits(value), order); position = newPosition; return this; }
@Override public ByteBuffer putFloat(int index, float value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.FLOAT); this.block.pokeInt(offset + index, Float.floatToRawIntBits(value), order); return this; }
@Override public ByteBuffer putFloat(int index, float value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.FLOAT); this.block.pokeInt(offset + index, Float.floatToRawIntBits(value), order); return this; }
@Override public ByteBuffer putFloat(float value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.FLOAT; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeInt(offset + position, Float.floatToRawIntBits(value), order); position = newPosition; return this; }
@Override public ByteBuffer putFloat(int index, float value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.FLOAT); this.block.pokeInt(offset + index, Float.floatToRawIntBits(value), order); return this; }
@Override public ByteBuffer putFloat(float value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.FLOAT; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeInt(offset + position, Float.floatToRawIntBits(value), order); position = newPosition; return this; }
@Override public ByteBuffer putInt(int value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.INT; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeInt(offset + position, value, order); position = newPosition; return this; }
@Override public ByteBuffer putInt(int value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.INT; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeInt(offset + position, value, order); position = newPosition; return this; }
@Override public ByteBuffer putInt(int index, int value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.INT); this.block.pokeInt(offset + index, value, order); return this; }
@Override public ByteBuffer putInt(int value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.INT; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeInt(offset + position, value, order); position = newPosition; return this; }
@Override public ByteBuffer putInt(int index, int value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.INT); this.block.pokeInt(offset + index, value, order); return this; }
@Override public ByteBuffer putInt(int value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } int newPosition = position + SizeOf.INT; if (newPosition > limit) { throw new BufferOverflowException(); } this.block.pokeInt(offset + position, value, order); position = newPosition; return this; }
@Override public ByteBuffer putInt(int index, int value) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkIndex(index, SizeOf.INT); this.block.pokeInt(offset + index, value, order); return this; }