public final class RandomRemovalFrequencyTable extends Object implements Frequency
| Constructor and Description |
|---|
RandomRemovalFrequencyTable(com.typesafe.config.Config config) |
| Modifier and Type | Method and Description |
|---|---|
int |
frequency(long e)
Returns the estimated number of times the element was seen.
|
void |
increment(long e)
Increments the popularity of the element.
|
public RandomRemovalFrequencyTable(com.typesafe.config.Config config)
public int frequency(long e)
Frequency