public class RecursiveCharIterator extends CharIterator
| Constructor and Description |
|---|
RecursiveCharIterator(FObj fobj)
Constructor which creates an iterator for all child nodes
|
RecursiveCharIterator(FObj fobj,
FONode child)
Constructor which creates an iterator for only some child nodes
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
hasNext() |
CharIterator |
mark() |
char |
nextChar() |
void |
remove() |
void |
replaceChar(char c)
Replaces the current character in the CharIterator with a specified
character
|
nextequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic RecursiveCharIterator(FObj fobj)
fobj - FONode for which an iterator should be createdpublic CharIterator mark()
public Object clone()
CharIteratorclone in class CharIteratorpublic void replaceChar(char c)
replaceChar in class CharIteratorc - the character which should be used to replace the current
characterpublic boolean hasNext()
CharIteratorhasNext in interface IteratorhasNext in class CharIteratorpublic char nextChar()
throws NoSuchElementException
nextChar in class CharIteratorNoSuchElementException - if there are no more characters (test for
this condition with java.util.Iterator.hasNext()).public void remove()
remove in interface Iteratorremove in class CharIteratorCopyright © 2023 Apache Software Foundation. All rights reserved.