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
-
-
Constructor Summary
Constructors Constructor Description ZoomBoundFunction(int min, int max)
Create a new bound for zooms
-
-
-
Constructor Detail
-
ZoomBoundFunction
ZoomBoundFunction(int min, int max)
Create a new bound for zooms- Parameters:
min
- The min zoommax
- The max zoom
-
-
Method Detail
-
apply
public Integer apply(int value)
- Specified by:
apply
in interfaceIntFunction<Integer>
-
-