Package kieker.analysis.util
Class RunningMedian<T extends Comparable<T>>
java.lang.Object
kieker.analysis.util.RunningMedian<T>
- Type Parameters:
T- Type of elements the median should be calculated for
This class represents a median that changes in the course of time. Whenever a new element is added the median changes.
- Since:
- 1.14
- Author:
- Sören Henning
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic RunningMedian<Double>static RunningMedian<Integer>static RunningMedian<Long>forLong()
-
Constructor Details
-
RunningMedian
public RunningMedian() -
RunningMedian
-
-
Method Details
-
add
-
getMedian
-
forInteger
-
forLong
-
forDouble
-