public class ReaderCharIterator extends Object implements CharIterator
Reader to the CharIterator interface.| Constructor and Description |
|---|
ReaderCharIterator(Reader in) |
public ReaderCharIterator(Reader in)
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()
CharIteratornext in interface CharIteratorpublic void remove() throws UnsupportedOperationException
remove in interface CharIteratorUnsupportedOperationExceptionCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.