ReadOnlyIntArrayBuffer extends IntArrayBuffer 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();
ReadOnlyIntArrayBuffer buf = new ReadOnlyIntArrayBuffer(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 ReadOnlyIntArrayBuffer(remaining(), backingArray, offset + position);