no.sesat.search.result
Class BasicWeightedSuggestion
java.lang.Object
no.sesat.search.result.BasicSuggestion
no.sesat.search.result.BasicWeightedSuggestion
- All Implemented Interfaces:
- Serializable, Comparable<WeightedSuggestion>, Suggestion, WeightedSuggestion
public final class BasicWeightedSuggestion
- extends BasicSuggestion
- implements WeightedSuggestion
Immutable
- Version:
- $Id: BasicWeightedSuggestion.java 7225 2009-04-09 00:32:20Z ssmiweve $
- See Also:
- Serialized Form
BasicWeightedSuggestion
protected BasicWeightedSuggestion(String original,
String suggestion,
String htmlSuggestion,
int weight)
- TODO comment me. *
- Parameters:
original - suggestion - htmlSuggestion - weight -
instanceOf
public static BasicWeightedSuggestion instanceOf(String original,
String suggestion,
String htmlSuggestion,
int weight)
- Parameters:
original - suggestion - htmlSuggestion - weight -
- Returns:
getWeight
public int getWeight()
- TODO comment me. *
- Specified by:
getWeight in interface WeightedSuggestion
- Returns:
toString
public String toString()
- TODO comment me.
- Overrides:
toString in class Object
compareTo
public int compareTo(WeightedSuggestion o)
- Specified by:
compareTo in interface Comparable<WeightedSuggestion>
equals
public boolean equals(Object obj)
- Overrides:
equals in class BasicSuggestion
hashCode
public int hashCode()
- Overrides:
hashCode in class BasicSuggestion
Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.