|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.collections.primitives.adapters.io.ReaderCharIterator
Adapts a Reader to the CharIterator interface.
| Constructor Summary | |
ReaderCharIterator(Reader in)
|
|
| Method Summary | |
static CharIterator |
adapt(Reader in)
|
boolean |
hasNext()
Returns true iff I have more elements. |
char |
next()
Returns the next element in me. |
void |
remove()
Not supported. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ReaderCharIterator(Reader in)
| Method Detail |
public static CharIterator adapt(Reader in)
public boolean hasNext()
CharIteratortrue iff I have more elements.
(In other words, returns true iff
a subsequent call to next will return
an element rather than throwing an exception.)
hasNext in interface CharIteratortrue iff I have more elementspublic char next()
CharIterator
next in interface CharIterator
public void remove()
throws UnsupportedOperationException
remove in interface CharIteratorUnsupportedOperationException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||