public class NonBlockingHashMapLong.IteratorLong extends Object implements Iterator<Long>, Enumeration<Long>
Iterator and Enumeration
interfaces, generified to the Long class and supporting a
non-auto-boxing nextLong() function.| Constructor and Description |
|---|
IteratorLong()
A new IteratorLong
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreElements()
True if there are more keys to iterate over.
|
boolean |
hasNext()
True if there are more keys to iterate over.
|
Long |
next()
Auto-box and return the next key.
|
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(). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic void remove()
next() or nextLong().public Long next()
public long nextLong()
long.public boolean hasNext()
public Long nextElement()
nextElement in interface Enumeration<Long>public boolean hasMoreElements()
hasMoreElements in interface Enumeration<Long>Copyright © 2013–2018. All rights reserved.