public class NullCharIterator extends CharIterator
Constructor and Description |
---|
NullCharIterator()
Constructor
|
Modifier and Type | Method and Description |
---|---|
static CharIterator |
getInstance() |
boolean |
hasNext() |
char |
nextChar() |
clone, next, remove, replaceChar
public static CharIterator getInstance()
public boolean hasNext()
hasNext
in interface java.util.Iterator
hasNext
in class CharIterator
public char nextChar() throws java.util.NoSuchElementException
nextChar
in class CharIterator
java.util.NoSuchElementException
- if there are no more characters (test for
this condition with java.util.Iterator.hasNext()).Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.