public int size() {
        return (mTail - mHead) & mCapacityBitmask;
    }
Get number of elements in the CircularArray.

@return Number of elements in the CircularArray.
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/util/collection/CircularArray.java