org.smallmind.instrument
Class Snapshot
java.lang.Object
org.smallmind.instrument.Snapshot
- All Implemented Interfaces:
- Ranking
public class Snapshot
- extends Object
- implements Ranking
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Snapshot
public Snapshot(Collection<Long> values)
Snapshot
public Snapshot(double[] values)
getValue
public double getValue(double quantile)
size
public int size()
getMedian
public double getMedian()
- Specified by:
getMedian in interface Ranking
get75thPercentile
public double get75thPercentile()
- Specified by:
get75thPercentile in interface Ranking
get95thPercentile
public double get95thPercentile()
- Specified by:
get95thPercentile in interface Ranking
get98thPercentile
public double get98thPercentile()
- Specified by:
get98thPercentile in interface Ranking
get99thPercentile
public double get99thPercentile()
- Specified by:
get99thPercentile in interface Ranking
get999thPercentile
public double get999thPercentile()
- Specified by:
get999thPercentile in interface Ranking
getValues
public double[] getValues()
- Specified by:
getValues in interface Ranking
Copyright © 2012. All Rights Reserved.