|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cliffc.high_scale_lib.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. |
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(). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NonBlockingHashMapLong.IteratorLong()
| Method Detail |
|---|
public void remove()
next() or nextLong().
remove in interface Iterator<Long>public Long next()
next in interface Iterator<Long>public long nextLong()
long.
public boolean hasNext()
hasNext in interface Iterator<Long>public Long nextElement()
nextElement in interface Enumeration<Long>public boolean hasMoreElements()
hasMoreElements in interface Enumeration<Long>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||