public final class DoubleMedianValueAggregatorFunction extends Object implements Function<List<Double>,Double>
AbstractListBackedAggregator
which computes the median
of all the numbers in the list.Constructor and Description |
---|
DoubleMedianValueAggregatorFunction()
By default create a function which will operate on a copy of the original
list (
useCopy = true). |
DoubleMedianValueAggregatorFunction(boolean useCopy)
Constructor which allows the caller to specify whether to operate on the
original list or a copy of it.
|
public DoubleMedianValueAggregatorFunction()
useCopy
= true).useCopy
public DoubleMedianValueAggregatorFunction(boolean useCopy)
useCopy
- Set to true to operate on a copy of the list or false to
operate on the original list.useCopy
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.