private class IntegerAggregator.MyInteger
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
cnt |
(package private) Aggregator.Op |
op |
(package private) int |
res |
Constructor and Description |
---|
MyInteger(Aggregator.Op op) |
Modifier and Type | Method and Description |
---|---|
void |
add(int n) |
int |
get() |
int res
int cnt
Aggregator.Op op
public MyInteger(Aggregator.Op op)