类 Asserts

java.lang.Object
cn.jrack.core.assertion.Asserts

public class Asserts extends Object
Asserts
作者:
ZhaoYang
  • 构造器详细资料

    • Asserts

      public Asserts()
  • 方法详细资料

    • isNotNull

      public static boolean isNotNull(Object object)
    • isNull

      public static boolean isNull(Object object)
    • isNullString

      public static boolean isNullString(String str)
    • isAllNullString

      public static boolean isAllNullString(String... str)
    • isNotNullString

      public static boolean isNotNullString(String str)
    • isAllNotNullString

      public static boolean isAllNotNullString(String... str)
    • isEquals

      public static boolean isEquals(String str1, String str2)
    • isEqualsIgnoreCase

      public static boolean isEqualsIgnoreCase(String str1, String str2)
    • isNullCollection

      public static boolean isNullCollection(Collection collection)
    • isNotNullCollection

      public static boolean isNotNullCollection(Collection collection)
    • isNullMap

      public static boolean isNullMap(Map map)
    • isNotNullMap

      public static boolean isNotNullMap(Map map)
    • checkNull

      public static void checkNull(Object key, String msg)
    • checkNotNull

      public static void checkNotNull(Object object, String msg)
    • checkNullString

      public static void checkNullString(String key, String msg)
    • checkNullCollection

      public static void checkNullCollection(Collection collection, String msg)
    • checkNullMap

      public static void checkNullMap(Map map, String msg)