org.onebusaway.transit_data_federation.model
Class SearchResult<T>
java.lang.Object
org.onebusaway.transit_data_federation.model.SearchResult<T>
- Type Parameters:
T
- the result type
public class SearchResult<T>
- extends Object
A search results captures a list of results along with the scores for each
result.
- Author:
- bdferris
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchResult
public SearchResult()
SearchResult
public SearchResult(List<T> results,
double[] scores)
size
public int size()
getResult
public T getResult(int index)
getResults
public List<T> getResults()
getScore
public double getScore(int index)
Copyright © 2012 OneBusAway. All Rights Reserved.