it.unimi.dsi.fastutil.objects
Class AbstractObject2CharSortedMap.ValuesIterator<K>

java.lang.Object
  extended by it.unimi.dsi.fastutil.chars.AbstractCharIterator
      extended by it.unimi.dsi.fastutil.objects.AbstractObject2CharSortedMap.ValuesIterator<K>
All Implemented Interfaces:
CharIterator, Iterator<Character>
Enclosing class:
AbstractObject2CharSortedMap<K>

protected static class AbstractObject2CharSortedMap.ValuesIterator<K>
extends AbstractCharIterator

A wrapper exhibiting a map iterator as an iterator on values.

To provide an iterator on values, just create an instance of this class using the corresponding iterator on entries.


Field Summary
protected  ObjectBidirectionalIterator<Map.Entry<K,Character>> i
           
 
Constructor Summary
AbstractObject2CharSortedMap.ValuesIterator(ObjectBidirectionalIterator<Map.Entry<K,Character>> i)
           
 
Method Summary
 boolean hasNext()
           
 char nextChar()
          Delegates to the corresponding generic method.
 
Methods inherited from class it.unimi.dsi.fastutil.chars.AbstractCharIterator
next, remove, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

i

protected final ObjectBidirectionalIterator<Map.Entry<K,Character>> i
Constructor Detail

AbstractObject2CharSortedMap.ValuesIterator

public AbstractObject2CharSortedMap.ValuesIterator(ObjectBidirectionalIterator<Map.Entry<K,Character>> i)
Method Detail

nextChar

public char nextChar()
Description copied from class: AbstractCharIterator
Delegates to the corresponding generic method.

Specified by:
nextChar in interface CharIterator
Overrides:
nextChar in class AbstractCharIterator
Returns:
the next element in the iteration.
See Also:
Iterator.next()

hasNext

public boolean hasNext()


Copyright © 2011. All Rights Reserved.