|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.labs.minion.indexer.dictionary.DiskDictionary.LightDiskDictionaryIterator
public class DiskDictionary.LightDiskDictionaryIterator
A lightweight iterator for this dictionary.
| Field Summary | |
|---|---|
protected DiskDictionary.LookupState |
lus
|
protected int |
posn
The position in the dictionary. |
protected java.lang.Object |
prevName
The name of the previous entry. |
| Constructor Summary | |
|---|---|
DiskDictionary.LightDiskDictionaryIterator()
|
|
| Method Summary | |
|---|---|
QueryEntry |
getEntry()
Gets the entire current entry. |
int |
getID()
Gets the ID of the current entry. |
int |
getN()
Gets the number of postings associated with the entry that the iterator is currently pointing at. |
java.lang.Object |
getName()
Gets the name of the entry that the iterator is currently pointing at. |
boolean |
next()
Advances the iterator to the next entry in the dictionary. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int posn
protected DiskDictionary.LookupState lus
protected java.lang.Object prevName
| Constructor Detail |
|---|
public DiskDictionary.LightDiskDictionaryIterator()
| Method Detail |
|---|
public boolean next()
LightIterator
next in interface LightIteratortrue if there is such an entry, false
otherwise.public java.lang.Object getName()
LightIterator
getName in interface LightIteratorpublic int getN()
LightIterator
getN in interface LightIteratorpublic QueryEntry getEntry()
LightIterator
getEntry in interface LightIteratorpublic int getID()
LightIterator
getID in interface LightIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||