private static class OpenHashSet.Iter<E>
extends java.lang.Object
implements java.util.Iterator<E>
Modifier and Type | Field and Description |
---|---|
private E[] |
buffer |
private E |
lastVal |
private int |
lastValIndex |
private E |
nextVal |
private int |
nextValIndex |
private OpenHashSet<E> |
set |
Constructor and Description |
---|
Iter(OpenHashSet<E> set) |
Modifier and Type | Method and Description |
---|---|
private void |
findNextVal() |
boolean |
hasNext() |
E |
next() |
void |
remove() |
private final E[] buffer
private final OpenHashSet<E> set
private int nextValIndex
private int lastValIndex
private E nextVal
private E lastVal
public Iter(OpenHashSet<E> set)