|
|||||||||
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 java.io.BufferedReader |
inputStream
Input stream providing access to the data |
Constructor Summary | |
---|---|
EmpiricalDistribution.StreamDataAdapter(java.io.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 java.io.BufferedReader inputStream
Constructor Detail |
---|
public EmpiricalDistribution.StreamDataAdapter(java.io.BufferedReader in)
in
- BufferedReader input streamMethod Detail |
---|
public void computeBinStats() throws java.io.IOException
computeBinStats
in class EmpiricalDistribution.DataAdapter
java.io.IOException
- if an error occurs computing bin statspublic void computeStats() throws java.io.IOException
computeStats
in class EmpiricalDistribution.DataAdapter
java.io.IOException
- if an error occurs computing sample stats
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |