ReadOnlyFloatArrayBuffer extends FloatArrayBuffer with all the write methods throwing read only exception.
This class is marked final for runtime performance.
super(capacity, backingArray, arrayOffset);
return duplicate();
throw new ReadOnlyBufferException();
ReadOnlyFloatArrayBuffer buf = new ReadOnlyFloatArrayBuffer(other .capacity(), other.backingArray, other.offset); buf.limit = other.limit(); buf.position = other.position(); buf.mark = markOfOther; return buf;
return copy(this, mark);
return true;
return false;
return new ReadOnlyFloatArrayBuffer(remaining(), backingArray, offset + position);