类 MyAssert
- java.lang.Object
-
- org.springframework.util.Assert
-
- me.youm.core.common.myassert.MyAssert
-
public class MyAssert extends org.springframework.util.Assert- 作者:
- youta
-
-
构造器概要
构造器 构造器 说明 MyAssert()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static voidisNotNull(Object object, EnumInterface exceptionEnum)static voidisNotTrue(boolean expression, EnumInterface exceptionEnum)static voidisNull(Object object, EnumInterface exceptionEnum)static voidisTrue(boolean expression, EnumInterface exceptionEnum)static voidnotEmpty(Object[] array, EnumInterface exceptionEnum)static voidnotEmpty(Collection<?> collection, EnumInterface exceptionEnum)static voidnotEmpty(Map<?,?> map, EnumInterface exceptionEnum)static voidstate(boolean expression, EnumInterface exceptionEnum)-
从类继承的方法 org.springframework.util.Assert
doesNotContain, doesNotContain, doesNotContain, hasLength, hasLength, hasLength, hasText, hasText, hasText, isAssignable, isAssignable, isAssignable, isInstanceOf, isInstanceOf, isInstanceOf, isNull, isNull, isNull, isTrue, isTrue, isTrue, noNullElements, noNullElements, noNullElements, noNullElements, noNullElements, notEmpty, notEmpty, notEmpty, notEmpty, notEmpty, notEmpty, notEmpty, notEmpty, notEmpty, notNull, notNull, notNull, state, state, state
-
-
-
-
方法详细资料
-
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 Collection<?> collection, EnumInterface exceptionEnum)
-
notEmpty
public static void notEmpty(@Nullable Map<?,?> map, EnumInterface exceptionEnum)
-
-