public void removeFromEnd(int numOfElements) {
        if (numOfElements <= 0) {
            return;
        }
        if (numOfElements > size()) {
            throw new ArrayIndexOutOfBoundsException();
        }
        mTail = (mTail - numOfElements) & mCapacityBitmask;
    }
Remove multiple elements from end of the CircularIntArray, ignore when numOfElements
is less than or equals to 0.

@param numOfElements Number of integers to remove.
@throws ArrayIndexOutOfBoundsException if numOfElements is larger than
                                       {@link #size()}
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/util/collection/CircularIntArray.java