Skip to content
Snippets Groups Projects
Commit ba9debb5 authored by Christopher Schankula's avatar Christopher Schankula :earth_africa:
Browse files

add BasicSearch wrapper in TrawlExpert model

parent 87900e9c
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@ import data.DataStore;
import data.FileProcessor;
import data.Record;
import search.BasicSearch;
import search.BasicSearchResult;
import sort.KDT;
public class TrawlExpert {
......@@ -32,4 +33,8 @@ public class TrawlExpert {
public Iterable<Integer> listAllSpecies(){
return BioTree.getNonEmptyChildren(2);
}
public BasicSearchResult rangeSearch(Integer taxonId, Integer yearLo, Integer yearHi) {
return BasicSearch.range(taxonId, yearLo, yearHi);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment