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