Class Source.ZoomBoundFunction
- java.lang.Object
-
- org.openstreetmap.josm.data.imagery.vectortile.mapbox.style.Source.ZoomBoundFunction
-
- All Implemented Interfaces:
java.util.function.IntFunction<java.lang.Integer>
- Enclosing class:
- Source
private static class Source.ZoomBoundFunction extends java.lang.Object implements java.util.function.IntFunction<java.lang.Integer>
A common function for zoom constraints
-
-
Constructor Summary
Constructors Constructor Description ZoomBoundFunction(int min, int max)Create a new bound for zooms
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integerapply(int value)
-
-
-
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 java.lang.Integer apply(int value)
- Specified by:
applyin interfacejava.util.function.IntFunction<java.lang.Integer>
-
-