|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectBoostSet.LineIter
private class BoostSet.LineIter
Iterates all the lines in a boost file
| Field Summary | |
|---|---|
(package private) boolean |
done
|
(package private) float |
lineBoost
|
(package private) String |
lineKey
|
(package private) String |
prevLineKey
|
(package private) BufferedReader |
reader
|
| Constructor Summary | |
|---|---|
BoostSet.LineIter(BufferedReader reader)
Construct from a reader |
|
| Method Summary | |
|---|---|
(package private) float |
boost()
Get the boost factor of the current line |
(package private) void |
close()
Clean up |
(package private) boolean |
done()
Returns true if no more lines to read |
(package private) String |
key()
Get the document key of the current line |
(package private) void |
next()
Advance to the next line |
private void |
readLine()
Read the next line in the file |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
BufferedReader reader
boolean done
String prevLineKey
String lineKey
float lineBoost
| Constructor Detail |
|---|
BoostSet.LineIter(BufferedReader reader)
throws IOException
IOException| Method Detail |
|---|
boolean done()
String key()
float boost()
void next()
throws IOException
IOException
void close()
throws IOException
IOException
private void readLine()
throws IOException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||