java.util.Enumeration<java.lang.Long>, java.util.Iterator<java.lang.Long>public class NonBlockingHashMapLong.IteratorLong
extends java.lang.Object
implements java.util.Iterator<java.lang.Long>, java.util.Enumeration<java.lang.Long>
Iterator and Enumeration
interfaces, generified to the Long class and supporting a
non-auto-boxing nextLong() function.| Constructor | Description |
|---|---|
IteratorLong() |
A new IteratorLong
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
hasMoreElements() |
True if there are more keys to iterate over.
|
boolean |
hasNext() |
True if there are more keys to iterate over.
|
java.lang.Long |
next() |
Auto-box and return the next key.
|
java.lang.Long |
nextElement() |
Auto-box and return the next key.
|
long |
nextLong() |
Return the next key as a primitive
long. |
void |
remove() |
Remove last key returned by
next() or nextLong(). |
public void remove()
next() or nextLong().remove in interface java.util.Iterator<java.lang.Long>public java.lang.Long next()
next in interface java.util.Iterator<java.lang.Long>public long nextLong()
long.public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Long>public java.lang.Long nextElement()
nextElement in interface java.util.Enumeration<java.lang.Long>public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumeration<java.lang.Long>Copyright © 2013–2017. All rights reserved.