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
  • Constructor Details

  • Method Details

    • set

      protected void set(double xmin, double xmax, double ymin, double ymax)
      Overrides:
      set in class BBox
    • toImmutable

      public BBox toImmutable()
      Description copied from class: BBox
      Returns an immutable version of this bbox, i.e., modifying calls throw an UnsupportedOperationException.
      Overrides:
      toImmutable in class BBox
      Returns:
      an immutable version of this bbox