| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectir.vsr.TokenOccurrence
public class TokenOccurrence
A lightweight object for storing information about an occurrence of a token (a.k.a word, term) in a Document.
| Field Summary | |
|---|---|
|  int | countThe number of times it occurs in the Document | 
|  DocumentReference | docRefA reference to the Document where it occurs | 
| Constructor Summary | |
|---|---|
| TokenOccurrence(DocumentReference docRef,
                int count)Create an occurrence with these values | |
| Method Summary | |
|---|---|
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public DocumentReference docRef
public int count
| Constructor Detail | 
|---|
public TokenOccurrence(DocumentReference docRef,
                       int count)
| Method Detail | 
|---|
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 | ||||||||