it.unimi.dsi.fastutil.shorts
Class AbstractShort2CharSortedMap.ValuesIterator

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

protected static class AbstractShort2CharSortedMap.ValuesIterator
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<Short,Character>> i
           
 
Constructor Summary
AbstractShort2CharSortedMap.ValuesIterator(ObjectBidirectionalIterator<Map.Entry<Short,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<Short,Character>> i
Constructor Detail

AbstractShort2CharSortedMap.ValuesIterator

public AbstractShort2CharSortedMap.ValuesIterator(ObjectBidirectionalIterator<Map.Entry<Short,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.