edu.wisc.ssec.mcidasv.util.trie
Class PatriciaTrie.SingletonIterator
java.lang.Object
edu.wisc.ssec.mcidasv.util.trie.PatriciaTrie.SingletonIterator
- All Implemented Interfaces:
- Iterator<Map.Entry<K,V>>
- Enclosing class:
- PatriciaTrie<K,V>
private class PatriciaTrie.SingletonIterator
- extends Object
- implements Iterator<Map.Entry<K,V>>
An iterator that stores a single TrieEntry.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entry
private final PatriciaTrie.TrieEntry<K,V> entry
hit
private int hit
PatriciaTrie.SingletonIterator
public PatriciaTrie.SingletonIterator(PatriciaTrie.TrieEntry<K,V> entry)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<Map.Entry<K,V>>
next
public Map.Entry<K,V> next()
- Specified by:
next
in interface Iterator<Map.Entry<K,V>>
remove
public void remove()
- Specified by:
remove
in interface Iterator<Map.Entry<K,V>>