Builder

class Builder(resultLimit: Int = DEFAULT_SEARCH_RESULT_LIMIT, searchRadius: Double = DEFAULT_SEARCH_RADIUS, resultFilters: MutableList<Predicate<EVStation>> = mutableListOf())

Constructors

Link copied to clipboard
constructor(resultLimit: Int = DEFAULT_SEARCH_RESULT_LIMIT, searchRadius: Double = DEFAULT_SEARCH_RADIUS, resultFilters: MutableList<Predicate<EVStation>> = mutableListOf())

Functions

Link copied to clipboard
Link copied to clipboard

Clears all of the search result filters.

Link copied to clipboard

The search results should contain no more than the quantity indicated

Link copied to clipboard

Appends a filter that will be applied to search results. Results that return true for any EVStation will be included others will be removed from the result list.

Link copied to clipboard

Replaces all search filters with the filters provided.

Link copied to clipboard

Indicates the EV search radius.