|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math.random.EmpiricalDistributionImpl.DataAdapter
org.apache.commons.math.random.EmpiricalDistributionImpl.StreamDataAdapter
private class EmpiricalDistributionImpl.StreamDataAdapter
DataAdapter
for data provided through some input stream
Field Summary | |
---|---|
private BufferedReader |
inputStream
Input stream providng access to the data |
Constructor Summary | |
---|---|
EmpiricalDistributionImpl.StreamDataAdapter(BufferedReader in)
Create a StreamDataAdapter from a BufferedReader |
Method Summary | |
---|---|
void |
computeBinStats(double min,
double delta)
Computes binStats |
void |
computeStats()
Computes sampleStats |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private BufferedReader inputStream
Constructor Detail |
---|
public EmpiricalDistributionImpl.StreamDataAdapter(BufferedReader in)
in
- BufferedReader input streamMethod Detail |
---|
public void computeBinStats(double min, double delta) throws IOException
computeBinStats
in class EmpiricalDistributionImpl.DataAdapter
min
- minimum valuedelta
- grid size
IOException
- if an IO error occurspublic void computeStats() throws IOException
computeStats
in class EmpiricalDistributionImpl.DataAdapter
IOException
- if an IOError occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |