org.apache.commons.math3.random
Class EmpiricalDistribution.DataAdapterFactory
java.lang.Object
org.apache.commons.math3.random.EmpiricalDistribution.DataAdapterFactory
- Enclosing class:
- EmpiricalDistribution
private class EmpiricalDistribution.DataAdapterFactory
- extends Object
Factory of DataAdapter
objects. For every supported source
of data (array of doubles, file, etc.) an instance of the proper object
is returned.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmpiricalDistribution.DataAdapterFactory
private EmpiricalDistribution.DataAdapterFactory()
getAdapter
public EmpiricalDistribution.DataAdapter getAdapter(Object in)
- Creates a DataAdapter from a data object
- Parameters:
in
- object providing access to the data
- Returns:
- DataAdapter instance
Copyright (c) 2003-2013 Apache Software Foundation