Liferay 6.2-ce-ga5

com.liferay.portal.kernel.search
Class WeightedWord

java.lang.Object
  extended by com.liferay.portal.kernel.search.WeightedWord
All Implemented Interfaces:
Comparable<WeightedWord>

public class WeightedWord
extends Object
implements Comparable<WeightedWord>


Constructor Summary
WeightedWord(String word, float weight)
           
 
Method Summary
 int compareTo(WeightedWord weightedWord)
           
 float getWeight()
           
 String getWord()
           
 void setWeight(float weight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeightedWord

public WeightedWord(String word,
                    float weight)
Method Detail

compareTo

public int compareTo(WeightedWord weightedWord)
Specified by:
compareTo in interface Comparable<WeightedWord>

getWeight

public float getWeight()

getWord

public String getWord()

setWeight

public void setWeight(float weight)

Liferay 6.2-ce-ga5