kopia lustrzana https://github.com/onthegomap/planetiler
Typing error fix (#1134)
rodzic
4c2e187ea3
commit
17ec14f78c
|
@ -12,7 +12,7 @@ import java.util.function.IntFunction;
|
|||
*/
|
||||
public interface ZoomFunction<T> extends IntFunction<T> {
|
||||
|
||||
/** Returns {@code value} when {@code zom >= min}, and null otherwise. */
|
||||
/** Returns {@code value} when {@code zoom >= min}, and null otherwise. */
|
||||
static <T> ZoomFunction<T> minZoom(int min, T value) {
|
||||
return zoom -> zoom >= min ? value : null;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue