|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectir.webutils.StringSearchResult
public class StringSearchResult
Lightweight object for storing both the number of DIFFERENT strings in a set of search strings that are found in a text as well as the total number of occurrences in the text of ANY of the strings in the set.
| Field Summary | |
|---|---|
int |
numberFound
Number of different strings found |
int |
numberOccurrences
Total number of occurrences of any of the strings |
| Constructor Summary | |
|---|---|
StringSearchResult(int numberFound,
int numberOccurrences)
Construct result with a given numberFound and numberOccurrences |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int numberFound
public int numberOccurrences
| Constructor Detail |
|---|
public StringSearchResult(int numberFound,
int numberOccurrences)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||