Class Source.ZoomBoundFunction

java.lang.Object
org.openstreetmap.josm.data.imagery.vectortile.mapbox.style.Source.ZoomBoundFunction
All Implemented Interfaces:
IntFunction<Integer>
Enclosing class:
Source

private static class Source.ZoomBoundFunction extends Object implements IntFunction<Integer>
A common function for zoom constraints
  • Field Details

    • min

      private final int min
    • max

      private final int max
  • Constructor Details

    • ZoomBoundFunction

      ZoomBoundFunction(int min, int max)
      Create a new bound for zooms
      Parameters:
      min - The min zoom
      max - The max zoom
  • Method Details