public class CheckDataUtil extends Object
| 构造器和说明 |
|---|
CheckDataUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
checkMobile(String mobile)
校验字符串为合法手机号码
1-字符串不为空
2-第一位为“1”
3-纯数字
4-11位字符串
|
static boolean |
equal(Integer num1,
Integer num2) |
static boolean |
equal(Long num1,
Long num2) |
static boolean |
isNotDigit(char c) |
static boolean |
isNotNull(Object object) |
static boolean |
isNull(Object object) |
static boolean |
notEqual(Integer num1,
Integer num2) |
static boolean |
notEqual(Long num1,
Long num2) |
public static boolean checkMobile(String mobile)
mobile - public static boolean isNotDigit(char c)
public static boolean isNotNull(Object object)
public static boolean isNull(Object object)
Copyright © 2018. All rights reserved.