Examples of LongCursor


Examples of com.carrotsearch.hppc.cursors.LongCursor

        private final LongCursor cursor;
        private int remaining;

        public ValueIterator()
        {
            cursor = new LongCursor();
            cursor.index = oneLeft(head, buffer.length);
            this.remaining = size();
        }
View Full Code Here

Examples of com.carrotsearch.hppc.cursors.LongCursor

        private final LongCursor cursor;
        private int remaining;

        public DescendingValueIterator()
        {
            cursor = new LongCursor();
            cursor.index = tail;
            this.remaining = size();
        }
View Full Code Here

Examples of com.carrotsearch.hppc.cursors.LongCursor

        private final LongCursor cursor;
        private int remaining;

        public ValueIterator()
        {
            cursor = new LongCursor();
            cursor.index = oneLeft(head, buffer.length);
            this.remaining = size();
        }
View Full Code Here

Examples of com.carrotsearch.hppc.cursors.LongCursor

        private final LongCursor cursor;
        private int remaining;

        public DescendingValueIterator()
        {
            cursor = new LongCursor();
            cursor.index = tail;
            this.remaining = size();
        }
View Full Code Here

Examples of com.carrotsearch.hppc.cursors.LongCursor

        deque.addLast(sequence);

        int index = sequence.size() - 1;
        for (Iterator<LongCursor> i = deque.descendingIterator(); i.hasNext(); )
        {
            LongCursor cursor = i.next();
            assertEquals2(sequence.buffer[index], cursor.value);
            assertEquals2(deque.buffer[cursor.index], cursor.value);
            index--;
        }
        assertEquals(-1, index);
View Full Code Here

Examples of com.carrotsearch.hppc.cursors.LongCursor

        private final LongCursor cursor;
        private int remaining;

        public ValueIterator()
        {
            cursor = new LongCursor();
            cursor.index = oneLeft(head, buffer.length);
            this.remaining = size();
        }
View Full Code Here

Examples of com.carrotsearch.hppc.cursors.LongCursor

        private final LongCursor cursor;
        private int remaining;

        public DescendingValueIterator()
        {
            cursor = new LongCursor();
            cursor.index = tail;
            this.remaining = size();
        }
View Full Code Here

Examples of com.carrotsearch.hppc.cursors.LongCursor

        private final LongCursor cursor;
        private int remaining;

        public ValueIterator()
        {
            cursor = new LongCursor();
            cursor.index = oneLeft(head, buffer.length);
            this.remaining = size();
        }
View Full Code Here

Examples of com.carrotsearch.hppc.cursors.LongCursor

        private final LongCursor cursor;
        private int remaining;

        public DescendingValueIterator()
        {
            cursor = new LongCursor();
            cursor.index = tail;
            this.remaining = size();
        }
View Full Code Here

Examples of com.carrotsearch.hppc.cursors.LongCursor

        private final LongCursor cursor;
        private int remaining;

        public ValueIterator()
        {
            cursor = new LongCursor();
            cursor.index = oneLeft(head, buffer.length);
            this.remaining = size();
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.