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