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()
CharIterator
true
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 CharIterator
true
iff I have more elementspublic char next()
CharIterator
next
in interface CharIterator
public void remove() throws UnsupportedOperationException
remove
in interface CharIterator
UnsupportedOperationException
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.