|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectghm.follow.search.LineResult
public class LineResult
Keeps results information about a line in the searchable text.
Field Summary | |
---|---|
int |
end
|
int |
lineNumber
|
int |
start
|
Constructor Summary | |
---|---|
LineResult(int lineNumber,
int start,
int end)
Constructor |
Method Summary | |
---|---|
void |
addWord(WordResult wordResult)
Add a WordResult to this line |
int |
getFirstWordPosition()
Get the caret position of the first occurring word result on this line. |
WordResult |
getWordResult(int index)
Get a specific word result associated with this line. |
java.util.List<WordResult> |
getWordResults()
Get the word results associated with this line. |
java.lang.String |
toString()
Builds a string that is conducive for showing as a result list entry |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int lineNumber
public int start
public int end
Constructor Detail |
---|
public LineResult(int lineNumber, int start, int end)
lineNumber
- Method Detail |
---|
public java.util.List<WordResult> getWordResults()
public WordResult getWordResult(int index)
index
-
public int getFirstWordPosition()
public void addWord(WordResult wordResult)
WordResult
to this line
wordResult
- public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |