org.jibx.binding.util
Class MultipleValueMap.MultipleIterator

java.lang.Object
  extended by org.jibx.binding.util.MultipleValueMap.MultipleIterator
All Implemented Interfaces:
Iterator
Enclosing class:
MultipleValueMap

public class MultipleValueMap.MultipleIterator
extends Object
implements Iterator

Iterator for only the multiple-valued keys in the map.


Constructor Summary
protected MultipleValueMap.MultipleIterator()
          Constructor.
 
Method Summary
 boolean hasNext()
          Check for another multiple-valued key present.
 Object next()
          Get the next multiple-valued key in map.
 void remove()
          Remove current multiple-valued key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipleValueMap.MultipleIterator

protected MultipleValueMap.MultipleIterator()
Constructor. This initializes the key iterator and next key values.

Method Detail

hasNext

public boolean hasNext()
Check for another multiple-valued key present.

Specified by:
hasNext in interface Iterator
Returns:
true if present, false if not

next

public Object next()
Get the next multiple-valued key in map. This returns the current next key, advancing to the next next key.

Specified by:
next in interface Iterator
Returns:
next multiple-valued key

remove

public void remove()
Remove current multiple-valued key.

Specified by:
remove in interface Iterator


Copyright © 2005-2011 jibx.org. All Rights Reserved.