public abstract class SearchLists<T,K> extends SearchBase<T,K,List<T>>
| Constructor and Description |
|---|
SearchLists() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getCount(List<T> list)
Gets the count of items in the list.
|
protected T |
getValue(List<T> list,
int index)
Used to access list values by index in the list.
|
binarySearch, binarySearch, binarySearchResults, compareToprotected int getCount(List<T> list)
SearchBaseprotected T getValue(List<T> list, int index) throws IOException
SearchBasegetValue in class SearchBase<T,K,List<T>>list - whose value is to be returnedindex - of the value to returnIOException - if there was a problem accessing data file.Copyright © 2017 51Degrees. All rights reserved.