|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwater.nbhm.NonBlockingHashMapLong.IteratorLong
public class NonBlockingHashMapLong.IteratorLong
A class which implements the Iterator
and Enumeration
interfaces, generified to the Long
class and supporting a
non-auto-boxing nextLong()
function.
Constructor Summary | |
---|---|
NonBlockingHashMapLong.IteratorLong()
A new IteratorLong |
Method Summary | |
---|---|
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() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NonBlockingHashMapLong.IteratorLong()
Method Detail |
---|
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>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |