Revision 58353
Added by Michele Artini about 4 years ago
SuggestionInfo.java | ||
---|---|---|
9 | 9 |
|
10 | 10 |
public class SuggestionCounter { |
11 | 11 |
|
12 |
private long nGroups = 0; |
|
13 |
|
|
14 | 12 |
private long nDuplicates = 0; |
15 | 13 |
|
16 | 14 |
private long nConflicts = 0; |
17 | 15 |
|
18 |
public long getnGroups() { |
|
19 |
return nGroups; |
|
20 |
} |
|
21 |
|
|
22 |
public void setnGroups(final long nGroups) { |
|
23 |
this.nGroups = nGroups; |
|
24 |
} |
|
25 |
|
|
26 | 16 |
public long getnDuplicates() { |
27 | 17 |
return nDuplicates; |
28 | 18 |
} |
... | ... | |
40 | 30 |
} |
41 | 31 |
|
42 | 32 |
public void add(final SuggestionInfoViewByCountry infoCountry) { |
43 |
nGroups += infoCountry.getnGroups(); |
|
44 | 33 |
nDuplicates += infoCountry.getnDuplicates(); |
45 | 34 |
nConflicts += infoCountry.getnConflicts(); |
46 | 35 |
} |
Also available in: Unified diff
removed unused tab (groups)