Package org.jboss.util.collection
Class ConcurrentSkipListMap.EntryIter
- java.lang.Object
-
- org.jboss.util.collection.ConcurrentSkipListMap.Iter
-
- org.jboss.util.collection.ConcurrentSkipListMap.EntryIter
-
- All Implemented Interfaces:
java.util.Map.Entry<K,V>
- Direct Known Subclasses:
ConcurrentSkipListMap.DescendingEntryIterator,ConcurrentSkipListMap.DescendingSubMapEntryIterator,ConcurrentSkipListMap.EntryIterator,ConcurrentSkipListMap.SubMapEntryIterator
- Enclosing class:
- ConcurrentSkipListMap<K,V>
abstract class ConcurrentSkipListMap.EntryIter extends ConcurrentSkipListMap.Iter implements java.util.Map.Entry<K,V>
Entry iterators use the same trick as in ConcurrentHashMap and elsewhere of using the iterator itself to represent entries, thus avoiding having to create entry objects in next().
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.ObjectlastValueCache of last value returned-
Fields inherited from class org.jboss.util.collection.ConcurrentSkipListMap.Iter
last, next, nextValue
-
-
Constructor Summary
Constructors Constructor Description EntryIter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)KgetKey()VgetValue()inthashCode()VsetValue(V value)java.lang.StringtoString()-
Methods inherited from class org.jboss.util.collection.ConcurrentSkipListMap.Iter
ascend, ascend, descend, descend, hasNext, initAscending, initAscending, initDescending, initDescending, remove
-
-