@Override
    public long getAndReset() {
        long result = 0L;
        long[] cells = this.cells;
        int length = mask + 1;
        for (int i = 0; i < length; i++) {
            result += getAndReset(cells, counterOffset(i));
        }
        return result;
    }
Basic class representing static striped long counter with
common mechanics for implementors.

@author Tolstopyatov Vsevolod
jctools-core/src/main/java/org/jctools/counters/FixedSizeStripedLongCounter.java