modnlp.tc.dstruct
public class IdFrequencyPair extends java.lang.Object implements java.lang.Comparable
BVProbabilityModel
Constructor and Description |
---|
IdFrequencyPair(java.lang.String s,
int c) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IdFrequencyPair wfp) |
int |
compareTo(java.lang.Object wfp) |
int |
getCount() |
java.lang.String |
getDocID()
Get the value of docID.
|
void |
setCount(int v)
Set the value of count.
|
void |
setDocID(java.lang.String v)
Set the value of docID.
|
public java.lang.String getDocID()
public void setDocID(java.lang.String v)
v
- Value to assign to docID.public int getCount()
public void setCount(int v)
v
- Value to assign to count.public int compareTo(java.lang.Object wfp)
compareTo
in interface java.lang.Comparable
public int compareTo(IdFrequencyPair wfp)