Class Exemplars
Object
Exemplars
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Exemplars.Builder
builder()
get
(double lowerBound, double upperBound) This is used by classic histograms to find an exemplar with a value between lowerBound and upperBound.get
(int index) Find the Exemplar with the newest timestamp.iterator()
static Exemplars
Create a new Exemplars instance.static Exemplars
of
(Collection<Exemplar> exemplars) Create a new Exemplars instance.int
size()
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
EMPTY
-
-
Method Details
-
of
Create a new Exemplars instance. You can either create Exemplars with one of the staticExemplars.of(...)
methods, or you can use thebuilder()
.- Parameters:
exemplars
- a copy of the exemplars collection will be created.
-
of
-
iterator
-
size
-
get
-
get
-
getLatest
-
builder
-