Class ArgumentUtils


  • final class ArgumentUtils
    extends java.lang.Object
    Utilities for argument validation.
    Since:
    1.2
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ArgumentUtils()
      No instances.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static void checkErrorRate​(double alpha)
      Check the error rate alpha is in the open interval (0, 1).
      • Methods inherited from class java.lang.Object

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

      • ArgumentUtils

        private ArgumentUtils()
        No instances.
    • Method Detail

      • checkErrorRate

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