public class RankEntry
extends java.lang.Object
implements java.lang.Cloneable
| Constructor and Description |
|---|
RankEntry(java.lang.String source,
int rankOfAddition)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object obj) |
int |
getLastUsedParahraph()
Get the last used paragraph id of the object/source document
|
int |
getLastUsedSentence()
Get the last used sentence id of the object/source document
|
int |
getRankOfAddition()
Get the rank in which the object/source document is registered
|
double |
getScore()
Get the score of the object/source document.
|
java.lang.String |
getSource()
Get the name of the source document the object is referencing.
|
int |
getTurnOfLastUse()
Get the turn of last used of the object/source document
|
void |
setLastUsedParahraph(int lastUsedParahraph)
Set the last used paragraph id of the object/source document
|
void |
setLastUsedSentence(int lastUsedSentence)
Set the last used sentence id of the object/source document
|
void |
setScore(double score)
Set the score of the object/source document.
|
void |
setSource(java.lang.String source)
Set the name of the source document the object is referencing.
|
void |
setTurnOfLastUse(int turnOfLastUse)
Set the turn of last used of the object/source document
|
java.lang.String |
toString() |
public RankEntry(java.lang.String source,
int rankOfAddition)
source - the name of the source documentrankOfAddition - the rank in which the source document is registeredpublic java.lang.String getSource()
public void setSource(java.lang.String source)
source - the name of the source documentpublic int getRankOfAddition()
public double getScore()
public void setScore(double score)
score - the score of the object/source documentpublic int getLastUsedParahraph()
public void setLastUsedParahraph(int lastUsedParahraph)
lastUsedParahraph - the id of the last used paragraphpublic int getLastUsedSentence()
public void setLastUsedSentence(int lastUsedSentence)
lastUsedSentence - the id of the last used sentencepublic int getTurnOfLastUse()
public void setTurnOfLastUse(int turnOfLastUse)
turnOfLastUse - the turn of last usepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object clone()
clone in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object