Save This Page
Home » commons-collections-3.2.1-src » org.apache.commons » collections » primitives » adapters » [javadoc | source]
org.apache.commons.collections.primitives.adapters
public class: IteratorCharIterator [javadoc | source]
java.lang.Object
   org.apache.commons.collections.primitives.adapters.IteratorCharIterator

All Implemented Interfaces:
    CharIterator

Adapts a Number -valued Iterator to the CharIterator interface.

This implementation delegates most methods to the provided Iterator implementation in the "obvious" way.

Constructor:
 public IteratorCharIterator(Iterator iterator) 
Method from org.apache.commons.collections.primitives.adapters.IteratorCharIterator Summary:
hasNext,   next,   remove,   wrap
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.collections.primitives.adapters.IteratorCharIterator Detail:
 public boolean hasNext() 
 public char next() 
 public  void remove() 
 public static CharIterator wrap(Iterator iterator) 
    Create an CharIterator wrapping the specified Iterator . When the given iterator is null, returns null.