target/generated-sources/template/com/flowpowered/math/GenericMath.java
public static double clamp(double value, double low, double high) {
        if (value < low) {
            return low;
        }
        if (value > high) {
            return high;
        }
        return value;
    }
public static double clamp(double value, double low, double high) {
        if (value < low) {
            return low;
        }
        if (value > high) {
            return high;
        }
        return value;
    }
public static double clamp ( double value , double low , double high ) { if ( value < low ) { return low ; } if ( value > high ) { return high ; } return value ; }
Clamps the value between the low and high boundaries

@param value The value to clamp
@param low The low bound of the clamp
@param high The high bound of the clamp
@return the clamped value
Clamps the value between the low and high boundaries