private static int positionOnCycle(long producerCycleClaim, int positionOnCycleMask)
    {
        return (int) (producerCycleClaim & positionOnCycleMask);
    }
NOTE: This class was automatically generated by org.jctools.queues.atomic.JavaParsingAtomicArrayQueueGenerator
which can found in the jctools-build module. The original source file is MpscArrayQueue.java.
jctools-experimental/src/main/java/org/jctools/queues/atomic/MpscRelaxedAtomicArrayQueue.java