类 MyAssert


  • public class MyAssert
    extends org.springframework.util.Assert
    作者:
    youta
    • 构造器详细资料

      • MyAssert

        public MyAssert()
    • 方法详细资料

      • state

        public static void state​(boolean expression,
                                 EnumInterface exceptionEnum)
      • isTrue

        public static void isTrue​(boolean expression,
                                  EnumInterface exceptionEnum)
      • isNotTrue

        public static void isNotTrue​(boolean expression,
                                     EnumInterface exceptionEnum)
      • isNull

        public static void isNull​(@Nullable
                                  Object object,
                                  EnumInterface exceptionEnum)
      • isNotNull

        public static void isNotNull​(@Nullable
                                     Object object,
                                     EnumInterface exceptionEnum)
      • notEmpty

        public static void notEmpty​(@Nullable
                                    Object[] array,
                                    EnumInterface exceptionEnum)
      • notEmpty

        public static void notEmpty​(@Nullable
                                    Map<?,​?> map,
                                    EnumInterface exceptionEnum)