org.apache.commons.math.random
private class EmpiricalDistributionImpl.StreamDataAdapter extends EmpiricalDistributionImpl.DataAdapter
DataAdapter
for data provided through some input streamModifier and Type | Field and Description |
---|---|
private java.io.BufferedReader |
inputStream
Input stream providing access to the data
|
Constructor and Description |
---|
EmpiricalDistributionImpl.StreamDataAdapter(java.io.BufferedReader in)
Create a StreamDataAdapter from a BufferedReader
|
Modifier and Type | Method and Description |
---|---|
void |
computeBinStats()
Compute bin stats.
|
void |
computeStats()
Compute sample statistics.
|
private java.io.BufferedReader inputStream
public EmpiricalDistributionImpl.StreamDataAdapter(java.io.BufferedReader in)
in
- BufferedReader input streampublic void computeBinStats() throws java.io.IOException
computeBinStats
in class EmpiricalDistributionImpl.DataAdapter
java.io.IOException
- if an error occurs computing bin statspublic void computeStats() throws java.io.IOException
computeStats
in class EmpiricalDistributionImpl.DataAdapter
java.io.IOException
- if an error occurs computing sample statsCopyright (c) 2003-2013 Apache Software Foundation