Package org.antlr.v4.runtime.atn
Class ConcurrentIntIntMapView.EntryIterator
java.lang.Object
org.antlr.v4.runtime.atn.ConcurrentIntIntMapView.EntryIterator
- Enclosing class:
- ConcurrentIntIntMapView
private final class ConcurrentIntIntMapView.EntryIterator
extends Object
implements Iterator<Map.Entry<Integer,Integer>>
Snapshot iterator over interleaved key/value pairs.
remove()
deletes the last returned key from the live store (not only the snapshot).-
Field Details
-
entries
private final int[] entries -
index
private int index -
lastKey
private int lastKey -
canRemove
private boolean canRemove
-
-
Constructor Details
-
EntryIterator
EntryIterator(int[] entries)
-
-
Method Details