public interface Frequency
| 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.
|
default void |
reportMiss()
Feedback to allow for adaptability.
|