Package org.jibx.binding.util
Class MultipleValueMap.MultipleIterator
java.lang.Object
org.jibx.binding.util.MultipleValueMap.MultipleIterator
- All Implemented Interfaces:
Iterator
- Enclosing class:
MultipleValueMap
Iterator for only the multiple-valued keys in the map.
-
Field Details
-
m_isConsumed
private boolean m_isConsumedCurrent key value has been consumed flag. -
m_currentKey
Current key,null
if past end. -
m_keyIterator
Iterator through keys present in map.
-
-
Constructor Details
-
MultipleIterator
protected MultipleIterator()Constructor. This initializes the key iterator and next key values.
-
-
Method Details
-
advance
private void advance()Advance to next multiple-valued key in map. -
hasNext
public boolean hasNext()Check for another multiple-valued key present. -
next
Get the next multiple-valued key in map. This returns the current next key, advancing to the next next key. -
remove
public void remove()Remove current multiple-valued key.
-