org.jaitools.numeric
Class ProcessorFactory
java.lang.Object
org.jaitools.Factory
org.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$
- 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-2015. All Rights Reserved.