Class PreconditionUtils


  • public class PreconditionUtils
    extends java.lang.Object
    Author:
    Michael Weiss
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void checkNotNegative​(int value)
      Ensures the all passed objects are not negative.
      static void checkNotNull​(java.lang.Object... objects)
      Ensures the all passed objects are not null.
      • Methods inherited from class java.lang.Object

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

      • PreconditionUtils

        public PreconditionUtils()
    • Method Detail

      • checkNotNull

        public static void checkNotNull​(java.lang.Object... objects)
        Ensures the all passed objects are not null.
      • checkNotNegative

        public static void checkNotNegative​(int value)
        Ensures the all passed objects are not negative.