-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathResult.java
More file actions
43 lines (31 loc) · 696 Bytes
/
Result.java
File metadata and controls
43 lines (31 loc) · 696 Bytes
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
39
40
41
42
43
public class Result {
private StepList steps;
private NumberList sorted;
private long totalFreqCount;
public Result(){
steps = new StepList();
sorted = new NumberList();
totalFreqCount = 0;
}
public StepList getSteps() {
return steps;
}
public void setSteps(StepList steps) {
this.steps = steps;
}
public NumberList getSorted() {
return sorted;
}
public void setSorted(NumberList sorted) {
this.sorted = sorted;
}
public long getTotalFreqCount() {
return totalFreqCount;
}
public void setTotalFreqCount(long totalFreqCount) {
this.totalFreqCount = totalFreqCount;
}
public void addToFreqCount(long value){
this.totalFreqCount += value;
}
}