Class EmpiricalDistribution.StreamDataAdapter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.io.BufferedReader inputStream
      Input stream providing access to the data
    • Constructor Summary

      Constructors 
      Constructor Description
      StreamDataAdapter​(java.io.BufferedReader in)
      Create a StreamDataAdapter from a BufferedReader
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

      • inputStream

        private java.io.BufferedReader inputStream
        Input stream providing access to the data
    • Constructor Detail

      • StreamDataAdapter

        StreamDataAdapter​(java.io.BufferedReader in)
        Create a StreamDataAdapter from a BufferedReader
        Parameters:
        in - BufferedReader input stream
    • Method Detail

      • computeStats

        public void computeStats()
                          throws java.io.IOException
        Compute sample statistics.
        Specified by:
        computeStats in class EmpiricalDistribution.DataAdapter
        Throws:
        java.io.IOException - if an error occurs computing sample stats