public class BucketCounter extends Object
Constructor and Description |
---|
BucketCounter(List<Long> intervals)
Bucket Counter constructor.
|
Modifier and Type | Method and Description |
---|---|
Map<Long,Number> |
getCounters() |
void |
insert(Long number)
insert a number to be counted.
|
void |
remove(Long number)
remove a number to be counted.
|
Copyright © 2023. All Rights Reserved.