int newOffset = offset + fromIndex;
int newLength = toIndex - fromIndex;
subArrayCheck(newOffset, newLength);
IntBuffer copy = elements.duplicate();
copy.position(newOffset);
copy.limit(newOffset + newLength);
return new SubBoundedIntBufferArrayImpl(this, copy);
}
/**
* Tells whether or not the array's content is resident in physical memory.