* Creates a new ranked word proposal.
*
* @param text
- * The text of this proposal
+ * The text of this proposal
* @param rank
- * The rank of this proposal
+ * The rank of this proposal
*/
public RankedWordProposal(final String text, final int rank) {
- fText= text;
- fRank= rank;
+ fText = text;
+ fRank = rank;
}
/*
*/
public final int compareTo(Object object) {
- final RankedWordProposal word= (RankedWordProposal)object;
- final int rank= word.getRank();
+ final RankedWordProposal word = (RankedWordProposal) object;
+ final int rank = word.getRank();
if (fRank < rank)
return -1;
* Sets the rank of the word.
*
* @param rank
- * The rank to set
+ * The rank to set
*/
public final void setRank(final int rank) {
- fRank= rank;
+ fRank = rank;
}
}