Modifier and Type | Method and Description |
---|---|
long |
getCount()
Returns the number of values recorded.
|
Snapshot |
getSnapshot()
Returns a snapshot of the values.
|
void |
update(int value)
Adds a recorded value.
|
void |
update(long value)
Adds a recorded value.
|
void update(int value)
value
- the length of the valuevoid update(long value)
value
- the length of the valuelong getCount()
Snapshot getSnapshot()
Sampling
getSnapshot
in interface Sampling
Copyright © 2020. All rights reserved.