io.github.zeroone3010.yahueapi.MathUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yetanotherhueapi Show documentation
Show all versions of yetanotherhueapi Show documentation
A library for controlling Philips Hue lights.
package io.github.zeroone3010.yahueapi;
final class MathUtil {
private MathUtil() {
// prevent
}
static boolean isInRange(final Float value, final float min, final float max) {
return value != null && value >= min && value <= max;
}
}