S - the type which this FilterHelper knows how to filter.public abstract class FilterHelper<S> extends Object
An abstract class to help LatLngWindows with the task of filtering collections based on whether or not a point is contained within the window. Rather than only filter collections of LatLng, this helper enables you to filter any class that has a LatLng value or for which a LatLng value can be computed.
An example of how you would instantiate a helper for filtering on a collection of type MyObject:
FilterHelper<MyObject> helper = new FilterHelper<MyObject>() {
@Override
public LatLng getLatLng(MyObject object) {
return object.getLatLng();
}
}| Constructor and Description |
|---|
FilterHelper() |
Copyright © 2010-2015. All Rights Reserved.