Package ubic.basecode.ontology.search
Class OntologySearchResult<T extends OntologyResource>
java.lang.Object
ubic.basecode.ontology.search.OntologySearchResult<T>
- All Implemented Interfaces:
Comparator<OntologySearchResult<?>>
public class OntologySearchResult<T extends OntologyResource>
extends Object
implements Comparator<OntologySearchResult<?>>
Represents a search result from an ontology.
- Author:
- poirigui
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(OntologySearchResult<?> searchResult, OntologySearchResult<?> t1) booleandoublegetScore()inthashCode()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
OntologySearchResult
-
-
Method Details
-
getResult
-
getScore
public double getScore() -
hashCode
public int hashCode() -
equals
- Specified by:
equalsin interfaceComparator<T extends OntologyResource>- Overrides:
equalsin classObject
-
compare
- Specified by:
comparein interfaceComparator<T extends OntologyResource>
-