@Nonnull
    @Override
    public E next() {
        return this.objects.get(this.cursor.updateAndGet(i -> {
            int n = i + 1;
            if (n >= this.size) {
                return 0;
            }
            return n;
        }));
    }
The current position of the cursor
helper/src/main/java/me/lucko/helper/bucket/CycleImpl.java