static class PhraseQuery.PostingsAndFreq extends java.lang.Object implements java.lang.Comparable<PhraseQuery.PostingsAndFreq>
Modifier and Type | Field and Description |
---|---|
(package private) int |
nTerms |
(package private) int |
position |
(package private) PostingsEnum |
postings |
(package private) Term[] |
terms |
Constructor and Description |
---|
PostingsAndFreq(PostingsEnum postings,
int position,
Term... terms) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PhraseQuery.PostingsAndFreq other) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
final PostingsEnum postings
final int position
final Term[] terms
final int nTerms
public PostingsAndFreq(PostingsEnum postings, int position, Term... terms)
public int compareTo(PhraseQuery.PostingsAndFreq other)
compareTo
in interface java.lang.Comparable<PhraseQuery.PostingsAndFreq>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object