All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.stamp.botsing.PrivateFraction Maven / Gradle / Ivy

package eu.stamp.botsing;

public class PrivateFraction {


    public static double getShiftedValue(int a, int b){
        if (b == 0) {
            throw new IllegalArgumentException();
        }
        return getValue(a,b);
    }

    private static double getValue(int a , int b){
        return a/(b+1);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy