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

com.ljs.ootp.extract.html.ootp6.rating.TwoToEight Maven / Gradle / Ivy

The newest version!
package com.ljs.ootp.extract.html.ootp6.rating;

import com.ljs.ootp.extract.html.rating.IntegerScale;

/**
 *
 * @author lstephen
 */
public final class TwoToEight extends IntegerScale {

    private static final TwoToEight INSTANCE = new TwoToEight();

    private TwoToEight() {
        super();
    }

    @Override
    protected Integer scale(Integer value) {
        return (value * 2 + (value - 5)) * 5;
    }

    public static TwoToEight scale() {
        return INSTANCE;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy