public class Assert extends Object
构造器和说明 |
---|
Assert() |
限定符和类型 | 方法和说明 |
---|---|
static void |
greaterThan(double num,
double exp,
String msg) |
static void |
notEmpty(String str,
String msg) |
static <T> void |
notEmpty(T[] arr,
String msg) |
static void |
notNull(Object object,
String msg) |
static void |
throwException(String msg) |
static void |
throwException(Throwable t) |
static <T> T |
wrap(Callable<T> callable) |
public static void greaterThan(double num, double exp, String msg)
public static <T> void notEmpty(T[] arr, String msg)
public static <T> T wrap(Callable<T> callable)
public static void throwException(String msg) throws BladeException
BladeException
public static void throwException(Throwable t) throws BladeException
BladeException
Copyright © 2017. All rights reserved.