public abstract class BucketPoint extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
BucketPoint(long start,
long end) |
| Modifier and Type | Method and Description |
|---|---|
protected Double |
getDoubleValue(double value) |
long |
getEnd() |
long |
getStart() |
abstract boolean |
isEmpty() |
static <T extends BucketPoint> |
toList(Map<Long,T> pointMap,
Buckets buckets,
BiFunction<Long,Long,T> emptyBucketFactory)
Converts bucket points indexed by start time into a list, ordered by start time.
|
public long getStart()
public long getEnd()
protected Double getDoubleValue(double value)
public abstract boolean isEmpty()
public static <T extends BucketPoint> List<T> toList(Map<Long,T> pointMap, Buckets buckets, BiFunction<Long,Long,T> emptyBucketFactory)
Copyright © 2014–2016 Red Hat, Inc.. All rights reserved.