Class LongHashSet.LongIterator
java.lang.Object
org.apache.activemq.artemis.utils.collections.LongHashSet.LongIterator
- All Implemented Interfaces:
Serializable,Iterator<Long>
- Enclosing class:
- LongHashSet
Iterator which supports unboxed access to values.
- See Also:
-
Constructor Details
-
LongIterator
public LongIterator()
-
-
Method Details
-
hasNext
public boolean hasNext() -
remaining
public int remaining() -
next
-
nextValue
public long nextValue()Strongly typed alternative ofIterator.next()to avoid boxing.- Returns:
- the next int value
-
remove
public void remove()
-