Package org.jboss.marshalling.reflect
Class UnlockedHashMap.RowIterator
- java.lang.Object
-
- org.jboss.marshalling.reflect.UnlockedHashMap.TableIterator
-
- org.jboss.marshalling.reflect.UnlockedHashMap.RowIterator
-
- All Implemented Interfaces:
java.util.Iterator<java.util.Map.Entry<K,V>>
- Enclosing class:
- UnlockedHashMap<K,V>
final class UnlockedHashMap.RowIterator extends UnlockedHashMap.TableIterator
-
-
Field Summary
Fields Modifier and Type Field Description private int
idx
private UnlockedHashMap.Item<K,V>
next
private UnlockedHashMap.Item<K,V>
remove
(package private) UnlockedHashMap.Item<K,V>[]
row
private UnlockedHashMap.Table<K,V>
table
-
Constructor Summary
Constructors Constructor Description RowIterator(UnlockedHashMap.Table<K,V> table, UnlockedHashMap.Item<K,V>[] row)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
UnlockedHashMap.Item<K,V>
next()
(package private) V
nextValue()
void
remove()
-
-
-
Field Detail
-
table
private final UnlockedHashMap.Table<K,V> table
-
row
UnlockedHashMap.Item<K,V>[] row
-
idx
private int idx
-
next
private UnlockedHashMap.Item<K,V> next
-
remove
private UnlockedHashMap.Item<K,V> remove
-
-
Constructor Detail
-
RowIterator
RowIterator(UnlockedHashMap.Table<K,V> table, UnlockedHashMap.Item<K,V>[] row)
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
nextValue
V nextValue()
- Specified by:
nextValue
in classUnlockedHashMap.TableIterator
-
next
public UnlockedHashMap.Item<K,V> next()
- Specified by:
next
in interfacejava.util.Iterator<java.util.Map.Entry<K,V>>
- Specified by:
next
in classUnlockedHashMap.TableIterator
-
remove
public void remove()
-
-