com.atlassian.confluence.search.didyoumean
Class Suggestion

java.lang.Object
  extended by com.atlassian.confluence.search.didyoumean.Suggestion

public class Suggestion
extends Object

Class that represents a suggestion to an incorrectly spelled word.


Constructor Summary
Suggestion(String word, float cost, int freq, float searchScore, int searchRank)
           
 
Method Summary
 boolean equals(Object obj)
           
 float getCost()
           
 int getFreq()
           
 int getSearchRank()
           
 float getSearchScore()
           
 String getWord()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Suggestion

public Suggestion(String word,
                  float cost,
                  int freq,
                  float searchScore,
                  int searchRank)
Method Detail

getWord

public String getWord()

getSearchScore

public float getSearchScore()

getCost

public float getCost()

getFreq

public int getFreq()

getSearchRank

public int getSearchRank()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2012 Atlassian. All Rights Reserved.