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
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidset(double xmin, double xmax, double ymin, double ymax) 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, widthMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openstreetmap.josm.data.IBounds
contains, contains, crosses180thMeridian, getArea, getMax, getMin, intersects
-
Constructor Details
-
Immutable
-
-
Method Details
-
set
-
toImmutable
Description copied from class:BBoxReturns an immutable version of this bbox, i.e., modifying calls throw anUnsupportedOperationException.- Overrides:
toImmutablein classBBox- Returns:
- an immutable version of this bbox
-