public interface Reservoir
| Modifier and Type | Method and Description | 
|---|---|
| Snapshot | getSnapshot()Return a  Snapshotof this reservoir | 
| int | size()Return the number of values in this reservoir | 
| void | update(long value)Update the reservoir with the new value |