1 package com.ljs.ootp.extract.html.ootp6.rating;
2
3 import com.ljs.ootp.extract.html.rating.IntegerScale;
4
5 /**
6 *
7 * @author lstephen
8 */
9 public final class OneToTwenty extends IntegerScale {
10
11 private static final OneToTwenty INSTANCE = new OneToTwenty();
12
13 private OneToTwenty() {
14 super();
15 }
16
17 @Override
18 protected Integer scale(Integer value) {
19 return value * 5;
20 }
21
22 public static OneToTwenty scale() {
23 return INSTANCE;
24 }
25
26 }