public class Utils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
isEmpty(Object object)
Is empty boolean.
|
static <T> boolean |
isListEmpty(List<T> list)
Is list empty boolean.
|
static <T> boolean |
isListNotEmpty(List<T> list)
Is list not empty boolean.
|
static boolean |
isNotEmpty(Object object)
Is not empty boolean.
|
static void |
sleep(long time)
Sleep.
|
static String |
toAmount(long amount)
To amount string.
|
static String |
toDate(Date date)
To date string.
|
public static String toAmount(long amount)
amount - the amountpublic static boolean isEmpty(Object object)
object - the objectpublic static boolean isNotEmpty(Object object)
object - the objectpublic static <T> boolean isListNotEmpty(List<T> list)
T - the type parameterlist - the listpublic static <T> boolean isListEmpty(List<T> list)
T - the type parameterlist - the listpublic static void sleep(long time)
time - the timeCopyright © 2018. All rights reserved.