# | Line 136 | Line 136 | public class LongAdderTable<K> implement | |
---|---|---|
136 | /** | |
137 | * Returns the sum totalled across all keys. | |
138 | * | |
139 | < | * @return the sum totalled across all keys. |
139 | > | * @return the sum totalled across all keys |
140 | */ | |
141 | public long sumAll() { | |
142 | long sum = 0L; | |
# | Line 156 | Line 156 | public class LongAdderTable<K> implement | |
156 | /** | |
157 | * Totals, then resets, the sums associated with all keys. | |
158 | * | |
159 | < | * @return the sum totalled across all keys. |
159 | > | * @return the sum totalled across all keys |
160 | */ | |
161 | public long sumThenResetAll() { | |
162 | long sum = 0L; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |