@Test public void toStringTest() { BoundingBox boundingBox = new BoundingBox(MIN_LATITUDE, MIN_LONGITUDE, MAX_LATITUDE, MAX_LONGITUDE); Assert.assertEquals(BOUNDING_BOX_TO_STRING, boundingBox.toString()); }
@Override public String toString() { StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("BoundingBox [minLatitudeE6="); stringBuilder.append(this.minLatitudeE6); stringBuilder.append(", minLongitudeE6="); stringBuilder.append(this.minLongitudeE6); stringBuilder.append(", maxLatitudeE6="); stringBuilder.append(this.maxLatitudeE6); stringBuilder.append(", maxLongitudeE6="); stringBuilder.append(this.maxLongitudeE6); stringBuilder.append("]"); return stringBuilder.toString(); }
BoundingBox implements Serializable { @Override public String toString() { StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("BoundingBox [minLatitudeE6="); stringBuilder.append(this.minLatitudeE6); stringBuilder.append(", minLongitudeE6="); stringBuilder.append(this.minLongitudeE6); stringBuilder.append(", maxLatitudeE6="); stringBuilder.append(this.maxLatitudeE6); stringBuilder.append(", maxLongitudeE6="); stringBuilder.append(this.maxLongitudeE6); stringBuilder.append("]"); return stringBuilder.toString(); } }
BoundingBox implements Serializable { @Override public String toString() { StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("BoundingBox [minLatitudeE6="); stringBuilder.append(this.minLatitudeE6); stringBuilder.append(", minLongitudeE6="); stringBuilder.append(this.minLongitudeE6); stringBuilder.append(", maxLatitudeE6="); stringBuilder.append(this.maxLatitudeE6); stringBuilder.append(", maxLongitudeE6="); stringBuilder.append(this.maxLongitudeE6); stringBuilder.append("]"); return stringBuilder.toString(); } BoundingBox(int minLatitudeE6, int minLongitudeE6, int maxLatitudeE6, int maxLongitudeE6); }
BoundingBox implements Serializable { @Override public String toString() { StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("BoundingBox [minLatitudeE6="); stringBuilder.append(this.minLatitudeE6); stringBuilder.append(", minLongitudeE6="); stringBuilder.append(this.minLongitudeE6); stringBuilder.append(", maxLatitudeE6="); stringBuilder.append(this.maxLatitudeE6); stringBuilder.append(", maxLongitudeE6="); stringBuilder.append(this.maxLongitudeE6); stringBuilder.append("]"); return stringBuilder.toString(); } BoundingBox(int minLatitudeE6, int minLongitudeE6, int maxLatitudeE6, int maxLongitudeE6); boolean contains(GeoPoint geoPoint); @Override boolean equals(Object obj); GeoPoint getCenterPoint(); double getMaxLatitude(); double getMaxLongitude(); double getMinLatitude(); double getMinLongitude(); @Override int hashCode(); @Override String toString(); }
BoundingBox implements Serializable { @Override public String toString() { StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("BoundingBox [minLatitudeE6="); stringBuilder.append(this.minLatitudeE6); stringBuilder.append(", minLongitudeE6="); stringBuilder.append(this.minLongitudeE6); stringBuilder.append(", maxLatitudeE6="); stringBuilder.append(this.maxLatitudeE6); stringBuilder.append(", maxLongitudeE6="); stringBuilder.append(this.maxLongitudeE6); stringBuilder.append("]"); return stringBuilder.toString(); } BoundingBox(int minLatitudeE6, int minLongitudeE6, int maxLatitudeE6, int maxLongitudeE6); boolean contains(GeoPoint geoPoint); @Override boolean equals(Object obj); GeoPoint getCenterPoint(); double getMaxLatitude(); double getMaxLongitude(); double getMinLatitude(); double getMinLongitude(); @Override int hashCode(); @Override String toString(); final int maxLatitudeE6; final int maxLongitudeE6; final int minLatitudeE6; final int minLongitudeE6; }