Package org.jctools.sets
Class IdentityOpenHashSet.Iter<E>
- java.lang.Object
-
- org.jctools.sets.IdentityOpenHashSet.Iter<E>
-
- All Implemented Interfaces:
java.util.Iterator<E>
- Enclosing class:
- IdentityOpenHashSet<E>
private static class IdentityOpenHashSet.Iter<E> extends java.lang.Object implements java.util.Iterator<E>
-
-
Field Summary
Fields Modifier and Type Field Description private E[]
buffer
private E
lastVal
private int
lastValIndex
private E
nextVal
private int
nextValIndex
private IdentityOpenHashSet<E>
set
-
Constructor Summary
Constructors Constructor Description Iter(IdentityOpenHashSet<E> set)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
findNextVal()
boolean
hasNext()
E
next()
void
remove()
-
-
-
Field Detail
-
buffer
private final E[] buffer
-
set
private final IdentityOpenHashSet<E> set
-
nextValIndex
private int nextValIndex
-
lastValIndex
private int lastValIndex
-
nextVal
private E nextVal
-
lastVal
private E lastVal
-
-
Constructor Detail
-
Iter
public Iter(IdentityOpenHashSet<E> set)
-
-