@Test public void testSouthernHemiContains() { GWTBounds bounds = new GWTBounds(new GWTLatLng(-40.0, -80.0), new GWTLatLng(30.0, 70.0)); GWTLatLng coords = new GWTLatLng(-35.0, -75.0); assertTrue(bounds.contains(coords)); }
public boolean contains(GWTLatLng coords) { return containsLongitude(coords.getLongitude()) && containsLatitude(coords.getLatitude()); }
GWTBounds { public boolean contains(GWTLatLng coords) { return containsLongitude(coords.getLongitude()) && containsLatitude(coords.getLatitude()); } }
GWTBounds { public boolean contains(GWTLatLng coords) { return containsLongitude(coords.getLongitude()) && containsLatitude(coords.getLatitude()); } GWTBounds(GWTLatLng southWestCorner, GWTLatLng northEastCorner);  GWTBounds(double swLat, double swLng, double neLat, double neLng); }
GWTBounds { public boolean contains(GWTLatLng coords) { return containsLongitude(coords.getLongitude()) && containsLatitude(coords.getLatitude()); } GWTBounds(GWTLatLng southWestCorner, GWTLatLng northEastCorner);  GWTBounds(double swLat, double swLng, double neLat, double neLng); boolean contains(GWTLatLng coords); boolean contains(GWTBounds bounds); GWTLatLng getSouthWestCorner(); GWTLatLng getNorthEastCorner(); boolean equals(Object o); int hashCode(); String toString(); }
GWTBounds { public boolean contains(GWTLatLng coords) { return containsLongitude(coords.getLongitude()) && containsLatitude(coords.getLatitude()); } GWTBounds(GWTLatLng southWestCorner, GWTLatLng northEastCorner);  GWTBounds(double swLat, double swLng, double neLat, double neLng); boolean contains(GWTLatLng coords); boolean contains(GWTBounds bounds); GWTLatLng getSouthWestCorner(); GWTLatLng getNorthEastCorner(); boolean equals(Object o); int hashCode(); String toString();  }