
com.ljs.ootp.extract.html.ootp6.rating.OneToTwenty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ootp-extract Show documentation
Show all versions of ootp-extract Show documentation
Extraction of player information from OOTP HTML player pages
The newest version!
package com.ljs.ootp.extract.html.ootp6.rating;
import com.ljs.ootp.extract.html.rating.IntegerScale;
/**
*
* @author lstephen
*/
public final class OneToTwenty extends IntegerScale {
private static final OneToTwenty INSTANCE = new OneToTwenty();
private OneToTwenty() {
super();
}
@Override
protected Integer scale(Integer value) {
return value * 5;
}
public static OneToTwenty scale() {
return INSTANCE;
}
}