Class ArgumentUtils

java.lang.Object
org.apache.commons.statistics.interval.ArgumentUtils

final class ArgumentUtils extends Object
Utilities for argument validation.
Since:
1.2
  • Constructor Details

    • ArgumentUtils

      private ArgumentUtils()
      No instances.
  • Method Details

    • checkErrorRate

      static void checkErrorRate(double alpha)
      Check the error rate alpha is in the open interval (0, 1).
      Parameters:
      alpha - Error rate.
      Throws:
      IllegalArgumentException - if alpha is not in the open interval (0, 1).