Class ObjectHashSet.ObjectIterator
java.lang.Object
org.agrona.collections.ObjectHashSet.ObjectIterator
- All Implemented Interfaces:
Iterator<T>
- Enclosing class:
ObjectHashSet<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate intprivate intprivate int -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
remaining
private int remaining -
positionCounter
private int positionCounter -
stopCounter
private int stopCounter -
isPositionValid
private boolean isPositionValid
-
-
Constructor Details
-
ObjectIterator
public ObjectIterator()Creates a new instance.
-
-
Method Details
-
reset
ObjectHashSet<T>.ObjectIterator reset() -
remaining
public int remaining()Return number of remaining elements.- Returns:
- number of remaining elements.
-
hasNext
-
next
-
nextValue
-
remove
-
position
-