Package io.netty.util.concurrent
Class ConcurrentSkipListIntObjMultimap.Iter<T>
- java.lang.Object
-
- io.netty.util.concurrent.ConcurrentSkipListIntObjMultimap.Iter<T>
-
- All Implemented Interfaces:
java.util.Iterator<T>
- Direct Known Subclasses:
ConcurrentSkipListIntObjMultimap.EntryIterator
- Enclosing class:
- ConcurrentSkipListIntObjMultimap<V>
abstract class ConcurrentSkipListIntObjMultimap.Iter<T> extends java.lang.Object implements java.util.Iterator<T>Base of iterator classes
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ConcurrentSkipListIntObjMultimap.Node<V>lastReturnedthe last node returned by next()(package private) ConcurrentSkipListIntObjMultimap.Node<V>nextthe next node to return from next();(package private) VnextValueCache of next value field to maintain weak consistency
-
Constructor Summary
Constructors Constructor Description Iter()Initializes ascending iterator for entire range.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidadvance(ConcurrentSkipListIntObjMultimap.Node<V> b)Advances next to higher entry.booleanhasNext()voidremove()
-
-
-
Field Detail
-
lastReturned
ConcurrentSkipListIntObjMultimap.Node<V> lastReturned
the last node returned by next()
-
next
ConcurrentSkipListIntObjMultimap.Node<V> next
the next node to return from next();
-
nextValue
V nextValue
Cache of next value field to maintain weak consistency
-
-
Method Detail
-
hasNext
public final boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<T>
-
advance
final void advance(ConcurrentSkipListIntObjMultimap.Node<V> b)
Advances next to higher entry.
-
remove
public final void remove()
- Specified by:
removein interfacejava.util.Iterator<T>
-
-