ints
590591592593594595596597598
private final IntCursor cursor; private int remaining; public ValueIterator() { cursor = new IntCursor(); cursor.index = oneLeft(head, buffer.length); this.remaining = size(); }
617618619620621622623624625
private final IntCursor cursor; private int remaining; public DescendingValueIterator() { cursor = new IntCursor(); cursor.index = tail; this.remaining = size(); }
591592593594595596597598599
618619620621622623624625626
833834835836837838839840841842843
@Override public Iterator<IntCursor> iterator() { return new Iterator<IntCursor>() { private long nextBitSet = BitSet.this.nextSetBit(0); private final IntCursor cursor = new IntCursor(); @Override public boolean hasNext() { return nextBitSet >= 0;
580581582583584585586587588