|
aa
|
A class which implements the Iterator and Enumeration interfaces, generified to the Long class and supporting a non-auto-boxing nextLong function. More...
Public Member Functions | |
| IteratorLong () | |
| A new IteratorLong. More... | |
| boolean | hasMoreElements () |
| True if there are more keys to iterate over. More... | |
| boolean | hasNext () |
| True if there are more keys to iterate over. More... | |
| Long | next () |
| Auto-box and return the next key. More... | |
| Long | nextElement () |
| Auto-box and return the next key. More... | |
| long | nextLong () |
| Return the next key as a primitive. More... | |
| void | remove () |
| Remove last key returned by next or nextLong. More... | |
Private Attributes | |
| final SnapshotV | _ss |
A class which implements the Iterator and Enumeration interfaces, generified to the Long class and supporting a non-auto-boxing nextLong function.
Definition at line 1131 of file NonBlockingHashMapLong.java.
| com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong.IteratorLong | ( | ) |
A new IteratorLong.
Definition at line 1134 of file NonBlockingHashMapLong.java.
References com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong._ss.
| boolean com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong.hasMoreElements | ( | ) |
True if there are more keys to iterate over.
Definition at line 1146 of file NonBlockingHashMapLong.java.
References com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong.hasNext().
| boolean com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong.hasNext | ( | ) |
True if there are more keys to iterate over.
Definition at line 1142 of file NonBlockingHashMapLong.java.
References com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong._ss, and com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotV.hasNext().
Referenced by com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong.hasMoreElements().
| Long com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong.next | ( | ) |
Auto-box and return the next key.
Definition at line 1138 of file NonBlockingHashMapLong.java.
References com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotV._prevK, com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong._ss, and com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotV.next().
Referenced by com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong.nextElement().
| Long com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong.nextElement | ( | ) |
Auto-box and return the next key.
Definition at line 1144 of file NonBlockingHashMapLong.java.
References com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong.next().
| long com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong.nextLong | ( | ) |
Return the next key as a primitive.
.
Definition at line 1140 of file NonBlockingHashMapLong.java.
References com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotV._prevK, com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong._ss, and com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotV.next().
| void com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong.remove | ( | ) |
Remove last key returned by next or nextLong.
Definition at line 1136 of file NonBlockingHashMapLong.java.
References com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong._ss, and com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotV.removeKey().
|
private |
Definition at line 1132 of file NonBlockingHashMapLong.java.
Referenced by com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong.hasNext(), com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong.IteratorLong(), com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong.next(), com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong.nextLong(), and com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.IteratorLong.remove().