Class Utils


  • class Utils
    extends java.lang.Object
    Holds some utility methods shared by different quantile finding implementations.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Utils()
      Makes this class non instantiable, but still let's others inherit from it.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static long epsilonCeiling​(double value)
      Similar to Math.ceil(value), but adjusts small numerical rounding errors +- epsilon.
      • Methods inherited from class java.lang.Object

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

      • Utils

        protected Utils()
        Makes this class non instantiable, but still let's others inherit from it.
    • Method Detail

      • epsilonCeiling

        public static long epsilonCeiling​(double value)
        Similar to Math.ceil(value), but adjusts small numerical rounding errors +- epsilon.