Interface GeocoordMatchFilter
-
- All Known Implementing Classes:
DMSFilter
,MGRSFilter
public interface GeocoordMatchFilter
Filtering matches is a matter of practicality. This does not validate matches, per se You can implement this interface as a ValidationFilter(?) Implementer is left to choose if pass or stop is implemented; ideally, pass(m) == !stop(m)- Author:
- ubaldino
-
-
Method Summary
Modifier and Type Method Description boolean
pass(GeocoordMatch m)
pass a matchboolean
stop(GeocoordMatch m)
stop a match
-
-
-
Method Detail
-
pass
boolean pass(GeocoordMatch m)
pass a match- Parameters:
m
- match- Returns:
- true if instance m is valid coordinate
-
stop
boolean stop(GeocoordMatch m)
stop a match- Parameters:
m
- match- Returns:
- true if instance m is NOT valid coordinate
-
-