Class MedianCalculator<T>

java.lang.Object
kieker.analysis.statistics.calculating.AbstractCalculator<T>
kieker.analysis.statistics.calculating.MedianCalculator<T>
Type Parameters:
T - Type of elements

public class MedianCalculator<T>
extends AbstractCalculator<T>
Since:
1.14
Author:
Sören Henning
  • Constructor Summary

    Constructors 
    Constructor Description
    MedianCalculator​(java.lang.String propertyName, java.util.function.Function<T,​java.lang.Long> valueAccessor)  
  • Method Summary

    Modifier and Type Method Description
    void calculate​(StatisticRecord statistic, T input, org.eclipse.emf.ecore.EObject modelObject)  

    Methods inherited from class kieker.analysis.statistics.calculating.AbstractCalculator

    getPropertyName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MedianCalculator

      public MedianCalculator​(java.lang.String propertyName, java.util.function.Function<T,​java.lang.Long> valueAccessor)
  • Method Details

    • calculate

      public void calculate​(StatisticRecord statistic, T input, org.eclipse.emf.ecore.EObject modelObject)
      Specified by:
      calculate in class AbstractCalculator<T>
      Parameters:
      statistic - the statistic record to process
      input - the input to be processed
      modelObject - the associated model object