Class Storage


  • public class Storage
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Storage​(int size)
      Creates a new instance of Storage
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getAverage​(boolean limit)  
      int getCount()  
      double getDP​(boolean limit)  
      long getMax​(boolean limit)  
      long getPercentile​(double percentile)  
      long[] getValues()  
      void reset()  
      void store​(long value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Storage

        public Storage​(int size)
        Creates a new instance of Storage
    • Method Detail

      • getCount

        public int getCount()
      • reset

        public void reset()
      • store

        public void store​(long value)
      • getAverage

        public double getAverage​(boolean limit)
      • getDP

        public double getDP​(boolean limit)
      • getValues

        public long[] getValues()
      • getMax

        public long getMax​(boolean limit)
      • getPercentile

        public long getPercentile​(double percentile)