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.| 构造器和说明 |
|---|
NonBlockingHashMapLong.IteratorLong()
A new IteratorLong
|
| 限定符和类型 | 方法和说明 |
|---|---|
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(). |
public NonBlockingHashMapLong.IteratorLong()
public void remove()
next() or nextLong().public long nextLong()
long.public boolean hasNext()
public Long nextElement()
nextElement 在接口中 Enumeration<Long>public boolean hasMoreElements()
hasMoreElements 在接口中 Enumeration<Long>Copyright © 2018. All rights reserved.