GeoHashPoint extends Point { public BigDecimal getLat() { return BigDecimal.valueOf(getLatitude()); } GeoHashPoint(final double latitude, final double longitude);  GeoHashPoint(final Double latitude, final Double longitude);  GeoHashPoint(final float latitude, final float longitude);  GeoHashPoint(final Position position);  GeoHashPoint(final String geohash);  GeoHashPoint(final String lat, final String lng); @Override Object clone(); String getGeohash(); BigDecimal getLat(); BigDecimal getLng(); @Override String toString(); static final String GEOHASH_KEY; }
@Test public void testGetLat() { BigDecimal actual; BigDecimal expected; GeoHashPoint model; model = new GeoHashPoint(Double.valueOf(53.5526394d), Double.valueOf(10.0067103d)); actual = model.getLat(); expected = BigDecimal.valueOf(Double.valueOf(53.5526394d)); assertEquals(expected, actual); }