collection/src/main/java/androidx/collection/CircularIntArray.java
public void removeFromStart(int numOfElements) {
        if (numOfElements <= 0) {
            return;
        }
        if (numOfElements > size()) {
            throw new ArrayIndexOutOfBoundsException();
        }
        mHead = (mHead + numOfElements) & mCapacityBitmask;
    }
/**
     * Remove multiple integers from front 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()}
     */
Remove multiple integers from front 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
#size()
Remove multiple integers from front 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 #size ()
public void removeFromStart(int numOfElements) {
        if (numOfElements <= 0) {
            return;
        }
        if (numOfElements > size()) {
            throw new ArrayIndexOutOfBoundsException();
        }
        mHead = (mHead + numOfElements) & mCapacityBitmask;
    }
public void removeFromStart ( int numOfElements ) { if ( numOfElements <= 0 ) { return ; } if ( numOfElements > size ( ) ) { throw new ArrayIndexOutOfBoundsException ( ) ; } mHead = ( mHead + numOfElements ) & mCapacityBitmask ; }
Remove multiple integers from front of the CircularIntArray, ignore when numOfElements
 is less than or equals to 0.
Remove multiple integers from front of the CircularIntArray ignore when numOfElements is less than or equals to 0 .