|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--ft.FTIterator
An iterator over a FTDictionary.
Used to iterate within FTDictionary.
There is no need to create this yourself. Use the
FTDictionary.iterator instead.
FTDictionary,
FTDictionary.iterator()| Constructor Summary | |
FTIterator(FTDictionary parentDictionary)
|
|
| Method Summary | |
boolean |
hasNext()
Returns true if the iteration has more elements. |
java.lang.Object |
next()
Returns the next element in the iteration. |
void |
nextLevel(int key)
Go to next level in dictionary. |
void |
prevLevel()
Go to previous level in dictionary. |
void |
remove()
Unsupported method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FTIterator(FTDictionary parentDictionary)
parentDictionary - Iterator is used to iterate within this
parentDictionary.FTDictionary.iterator()| Method Detail |
public void nextLevel(int key)
key - a button pressed from UI.public void prevLevel()
public boolean hasNext()
true if next would return an
element rather than throwing an exception.)
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorjava.util.NoSuchElementException - iteration has no more elements.public void remove()
remove in interface java.util.Iteratorjava.lang.UnsupportedOperationException - exception is
thrown always, because this method is unsupported.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||