|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CasedPostingsEntry
An interface that can be implemented by entries that store postings for case sensitive and case insensitive terms. This can be used, for example, when building bigram dictionaries.
Method Summary | |
---|---|
void |
addCaseInsensitive(Occurrence o)
Adds an occurrence to our case insensitive postings. |
void |
addCaseSensitive(Occurrence o)
Adds an occurrence to our case sensitive postings. |
Entry |
getCaseInsensitiveEntry()
Gets the case insensitive entry for this entry. |
Postings |
getCaseInsensitivePostings()
Gets the postings that are case insenstive. |
Postings |
getCaseSensitivePostings()
Gets the postings that are case sensitive. |
boolean |
nameOccurred()
Tells us whether the name for this entry occurred in the indexed material. |
void |
setCaseInsensitiveEntry(IndexEntry e)
Sets the case insensitive entry for this entry. |
Method Detail |
---|
void setCaseInsensitiveEntry(IndexEntry e)
e
- the case insensitive entry associated with this entryEntry getCaseInsensitiveEntry()
void addCaseSensitive(Occurrence o)
o
- the occurrence to add to our postingsvoid addCaseInsensitive(Occurrence o)
o
- the occurrence which we're adding to our postingsPostings getCaseSensitivePostings()
Postings getCaseInsensitivePostings()
boolean nameOccurred()
true
if the name of this entry actually occurred in
the indexed material, false otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |