|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.collections.primitives.adapters.CharIteratorIterator
Adapts an CharIterator to the
Iterator interface.
CharIterator
implementation in the "obvious" way.
| Field Summary | |
private CharIterator |
_iterator
|
| Constructor Summary | |
CharIteratorIterator(CharIterator iterator)
Creates an Iterator wrapping
the specified CharIterator. |
|
| Method Summary | |
boolean |
hasNext()
|
java.lang.Object |
next()
|
void |
remove()
|
static java.util.Iterator |
wrap(CharIterator iterator)
Create an Iterator wrapping
the specified CharIterator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private CharIterator _iterator
| Constructor Detail |
public CharIteratorIterator(CharIterator iterator)
Iterator wrapping
the specified CharIterator.
wrap(org.apache.commons.collections.primitives.CharIterator)| Method Detail |
public static java.util.Iterator wrap(CharIterator iterator)
Iterator wrapping
the specified CharIterator. When
the given iterator is null,
returns null.
iterator - the (possibly null)
CharIterator to wrap
Iterator wrapping the given
iterator, or null when iterator is
null.public boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorpublic void remove()
remove in interface java.util.Iterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||