public class Trie2.CharSequenceIterator extends Object implements Iterator<Trie2.CharSequenceValues>
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Returns
true if the iteration has more elements. |
boolean |
hasPrevious() |
Trie2.CharSequenceValues |
next()
Returns the next element in the iteration.
|
Trie2.CharSequenceValues |
previous() |
void |
remove()
Iterator.remove() is not supported by Trie2.CharSequenceIterator.
|
void |
set(int i) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic void set(int i)
public final boolean hasNext()
Iteratortrue if the iteration has more elements.
(In other words, returns true if Iterator.next() would
return an element rather than throwing an exception.)hasNext in interface Iterator<Trie2.CharSequenceValues>true if the iteration has more elementspublic final boolean hasPrevious()
public Trie2.CharSequenceValues next()
Iteratornext in interface Iterator<Trie2.CharSequenceValues>public Trie2.CharSequenceValues previous()
public void remove()
remove in interface Iterator<Trie2.CharSequenceValues>UnsupportedOperationException - Always thrown because this operation is not supportedIterator.remove()