RingType
- Type of Ring to average.public class WeightedRingAverager<RingType extends Ring<RingType>> extends AbstractCloneableSerializable implements Summarizer<WeightedValue<RingType>,RingType>
Constructor and Description |
---|
WeightedRingAverager()
Creates a new instance of WeightedRingAverager
|
Modifier and Type | Method and Description |
---|---|
RingType |
summarize(java.util.Collection<? extends WeightedValue<RingType>> data)
Creates a summary of the given collection of data.
|
clone
public WeightedRingAverager()
public RingType summarize(java.util.Collection<? extends WeightedValue<RingType>> data)
Summarizer
summarize
in interface Summarizer<WeightedValue<RingType extends Ring<RingType>>,RingType extends Ring<RingType>>
data
- The collection of data to summarize.