-
Notifications
You must be signed in to change notification settings - Fork 0
/
Number.java
38 lines (31 loc) · 831 Bytes
/
Number.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package com.xiaoying.test.apiserver.Suduku;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Sidney on 2017/4/22.
*/
public class Number {
private Integer realValue;
private List<Integer> possibleValue;
public Number(){
possibleValue = new ArrayList<>();
for (int i = 1; i < 10; i++) {
possibleValue.add(i);
}
}
public Number(Integer realValue) {
this.realValue = realValue;
}
public Integer getRealValue() {
return realValue;
}
public void setRealValue(Integer realValue) {
this.realValue = realValue;
}
public List<Integer> getPossibleValue() {
return possibleValue;
}
public void setPossibleValue(List<Integer> possibleValue) {
this.possibleValue = possibleValue;
}
}