|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.math3.random.EmpiricalDistribution.DataAdapter
org.apache.commons.math3.random.EmpiricalDistribution.StreamDataAdapter
private class EmpiricalDistribution.StreamDataAdapter
DataAdapter for data provided through some input stream
| Field Summary | |
|---|---|
private BufferedReader |
inputStream
Input stream providing access to the data |
| Constructor Summary | |
|---|---|
EmpiricalDistribution.StreamDataAdapter(BufferedReader in)
Create a StreamDataAdapter from a BufferedReader |
|
| Method Summary | |
|---|---|
void |
computeBinStats()
Compute bin stats. |
void |
computeStats()
Compute sample statistics. |
| 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 EmpiricalDistribution.StreamDataAdapter(BufferedReader in)
in - BufferedReader input stream| Method Detail |
|---|
public void computeBinStats()
throws IOException
computeBinStats in class EmpiricalDistribution.DataAdapterIOException - if an error occurs computing bin stats
public void computeStats()
throws IOException
computeStats in class EmpiricalDistribution.DataAdapterIOException - if an error occurs computing sample stats
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||