net.sf.myra.datamining
Class UnitAveragingMode.DoubleUnitAveragingMode

java.lang.Object
  extended by net.sf.myra.datamining.UnitAveragingMode<java.lang.Double>
      extended by net.sf.myra.datamining.UnitAveragingMode.DoubleUnitAveragingMode
Enclosing class:
UnitAveragingMode<V extends java.lang.Comparable<V>>

public static class UnitAveragingMode.DoubleUnitAveragingMode
extends UnitAveragingMode<java.lang.Double>

Default averaging mode for Double values.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.myra.datamining.UnitAveragingMode
UnitAveragingMode.DoubleUnitAveragingMode
 
Constructor Summary
UnitAveragingMode.DoubleUnitAveragingMode()
           
 
Method Summary
 java.lang.String getAverage(Unit<java.lang.Double>[] values)
          Returns a String which corresponds to the average values of the specified units.
 
Methods inherited from class net.sf.myra.datamining.UnitAveragingMode
average, compare, compareTo, get, register, stdev, stdev
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnitAveragingMode.DoubleUnitAveragingMode

public UnitAveragingMode.DoubleUnitAveragingMode()
Method Detail

getAverage

public java.lang.String getAverage(Unit<java.lang.Double>[] values)
Description copied from class: UnitAveragingMode
Returns a String which corresponds to the average values of the specified units.

Specified by:
getAverage in class UnitAveragingMode<java.lang.Double>
Parameters:
values - the array of unit values.
Returns:
a String which corresponds to the average values of the specified units.


Copyright © 2013. All Rights Reserved.