public final class RightAndLefthandTraffic extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
RightAndLefthandTraffic.RLTrafficGeoProperty |
Modifier and Type | Field and Description |
---|---|
private static java.util.Collection<java.awt.geom.Area> |
leftHandTrafficPolygons |
private static GeoPropertyIndex<java.lang.Boolean> |
rlCache |
Modifier | Constructor and Description |
---|---|
private |
RightAndLefthandTraffic() |
Modifier and Type | Method and Description |
---|---|
private static void |
initialize() |
static boolean |
isRightHandTraffic(LatLon ll)
Check if there is right-hand traffic at a certain location.
|
private static volatile java.util.Collection<java.awt.geom.Area> leftHandTrafficPolygons
private static volatile GeoPropertyIndex<java.lang.Boolean> rlCache
private RightAndLefthandTraffic()
public static boolean isRightHandTraffic(LatLon ll)
GeoPropertyIndex
as most look-ups are read-only.ll
- the coordinates of the pointprivate static void initialize()