public E popLast() {
        if (mHead == mTail) {
            throw new ArrayIndexOutOfBoundsException();
        }
        int t = (mTail - 1) & mCapacityBitmask;
        E result = mElements[t];
        mElements[t] = null;
        mTail = t;
        return result;
    }
Remove last element from end of the CircularArray and return it.

@return The element removed.
@throws ArrayIndexOutOfBoundsException if CircularArray is empty.
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/util/collection/CircularArray.java