jaitools.numeric
Class ProcessorFactory
java.lang.Object
jaitools.Factory
jaitools.numeric.ProcessorFactory
public class ProcessorFactory
- extends Factory
A (very) simple factory class used by StreamingSampleStats to create
Processors which handle the calculation of various statistics based on
values in a data stream.
- Since:
- 1.0
- Version:
- $Id: ProcessorFactory.java 1383 2011-02-10 11:22:29Z michael.bedward $
- Author:
- Michael Bedward
- See Also:
Processor,
StreamingSampleStats
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessorFactory
public ProcessorFactory()
getForStatistic
public Processor getForStatistic(Statistic stat)
- Return a new instance of a
Processor that claims to support
the given Statistic.
- Parameters:
stat - the statistic
- Returns:
- a new instance of the first
Processor class found that supports
stat; or null if no class was found
Copyright © 2009-2011. All Rights Reserved.