Package org.openstreetmap.josm.data.osm
Class BBox.Immutable
- java.lang.Object
-
- org.openstreetmap.josm.data.osm.BBox
-
- org.openstreetmap.josm.data.osm.BBox.Immutable
-
- All Implemented Interfaces:
IBounds
- Enclosing class:
- BBox
private static class BBox.Immutable extends BBox
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
set(double xmin, double xmax, double ymin, double ymax)
BBox
toImmutable()
Returns an immutable version of this bbox, i.e., modifying calls throw anUnsupportedOperationException
.-
Methods inherited from class org.openstreetmap.josm.data.osm.BBox
add, add, add, add, addLatLon, addPrimitive, addPrimitive, area, bboxesAreFunctionallyEqual, bboxIsFunctionallyEqual, bounds, bounds, equals, getBottomRight, getBottomRightLat, getBottomRightLon, getCenter, getHeight, getIndex, getMaxLat, getMaxLon, getMinLat, getMinLon, getTopLeft, getTopLeftLat, getTopLeftLon, getWidth, hashCode, height, intersects, isInWorld, isValid, toRectangle, toString, toStringCSV, width
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.openstreetmap.josm.data.IBounds
contains, contains, crosses180thMeridian, getArea, getMax, getMin, intersects
-
-
-
-
Method Detail
-
set
protected void set(double xmin, double xmax, double ymin, double ymax)
-
toImmutable
public BBox toImmutable()
Description copied from class:BBox
Returns an immutable version of this bbox, i.e., modifying calls throw anUnsupportedOperationException
.- Overrides:
toImmutable
in classBBox
- Returns:
- an immutable version of this bbox
-
-