public class Validator extends Object
| 构造器和说明 |
|---|
Validator() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> T |
empty(Class<?> cls) |
static <T> T |
empty(Class<?> cls,
T t) |
static boolean |
equals(Object one,
Object other) |
static boolean |
isAnyBlank(Object... objects) |
static boolean |
isAnyBlank(Object obj1,
Object obj2) |
static boolean |
isAnyBlank(Object obj1,
Object obj2,
Object obj3) |
static boolean |
isAnyEmpty(Object... objects) |
static boolean |
isAnyEmpty(Object obj1,
Object obj2) |
static boolean |
isAnyEmpty(Object obj1,
Object obj2,
Object obj3) |
static boolean |
isAnyNull(Object... objects) |
static boolean |
isAnyNull(Object obj1,
Object obj2) |
static boolean |
isAnyNull(Object obj1,
Object obj2,
Object obj3) |
static boolean |
isBlank(boolean[] array) |
static boolean |
isBlank(byte[] array) |
static boolean |
isBlank(char[] array) |
static boolean |
isBlank(CharSequence cs) |
static boolean |
isBlank(Collection<?> collection) |
static boolean |
isBlank(double[] array) |
static boolean |
isBlank(float[] array) |
static boolean |
isBlank(int[] array) |
static boolean |
isBlank(long[] array) |
static boolean |
isBlank(Map<?,?> map) |
static boolean |
isBlank(Object obj) |
static boolean |
isBlank(Object[] array) |
static boolean |
isBlank(short[] array) |
static boolean |
isEmpty(boolean[] array) |
static boolean |
isEmpty(byte[] array) |
static boolean |
isEmpty(char[] array) |
static boolean |
isEmpty(CharSequence cs) |
static boolean |
isEmpty(Collection<?> collection) |
static boolean |
isEmpty(double[] array) |
static boolean |
isEmpty(float[] array) |
static boolean |
isEmpty(int[] array) |
static boolean |
isEmpty(long[] array) |
static boolean |
isEmpty(Map<?,?> map) |
static boolean |
isEmpty(Object obj) |
static boolean |
isEmpty(Object[] array) |
static boolean |
isEmpty(short[] array) |
static boolean |
isFalse(Object obj) |
static boolean |
isTrue(Object obj) |
static boolean |
nonAnyBlank(Object... objects) |
static boolean |
nonAnyBlank(Object obj1,
Object obj2) |
static boolean |
nonAnyBlank(Object obj1,
Object obj2,
Object obj3) |
static boolean |
nonAnyEmpty(Object... objects) |
static boolean |
nonAnyEmpty(Object obj1,
Object obj2) |
static boolean |
nonAnyEmpty(Object obj1,
Object obj2,
Object obj3) |
static boolean |
nonAnyNull(Object... objects) |
static boolean |
nonAnyNull(Object obj1,
Object obj2) |
static boolean |
nonAnyNull(Object obj1,
Object obj2,
Object obj3) |
static boolean |
nonBlank(boolean[] array) |
static boolean |
nonBlank(byte[] array) |
static boolean |
nonBlank(char[] array) |
static boolean |
nonBlank(CharSequence cs) |
static boolean |
nonBlank(Collection<?> collection) |
static boolean |
nonBlank(double[] array) |
static boolean |
nonBlank(float[] array) |
static boolean |
nonBlank(int[] array) |
static boolean |
nonBlank(long[] array) |
static boolean |
nonBlank(Map<?,?> map) |
static boolean |
nonBlank(Object obj) |
static boolean |
nonBlank(Object[] array) |
static boolean |
nonBlank(short[] array) |
static boolean |
nonEmpty(boolean[] array) |
static boolean |
nonEmpty(byte[] array) |
static boolean |
nonEmpty(char[] array) |
static boolean |
nonEmpty(CharSequence cs) |
static boolean |
nonEmpty(Collection<?> collection) |
static boolean |
nonEmpty(double[] array) |
static boolean |
nonEmpty(float[] array) |
static boolean |
nonEmpty(int[] array) |
static boolean |
nonEmpty(long[] array) |
static boolean |
nonEmpty(Map<?,?> map) |
static boolean |
nonEmpty(Object obj) |
static boolean |
nonEmpty(Object[] array) |
static boolean |
nonEmpty(short[] array) |
static boolean |
nonEquals(Object one,
Object other) |
static <T> T |
nonNull(Class<? extends T> cls,
T t) |
static <T> T |
nonNull(T t) |
static <T> T |
off(T t) |
static void |
requireNon(boolean condition) |
static void |
requireNonAnyBlank(Object... objects) |
static void |
requireNonAnyBlank(Object obj1,
Object obj2) |
static void |
requireNonAnyBlank(Object obj1,
Object obj2,
Object obj3) |
static void |
requireNonAnyEmpty(Object... objects) |
static void |
requireNonAnyEmpty(Object obj1,
Object obj2) |
static void |
requireNonAnyEmpty(Object obj1,
Object obj2,
Object obj3) |
static void |
requireNonAnyNull(Object... objects) |
static void |
requireNonAnyNull(Object obj1,
Object obj2) |
static void |
requireNonAnyNull(Object obj1,
Object obj2,
Object obj3) |
static void |
requireNonBlank(Object obj) |
static void |
requireNonEmpty(Object obj) |
public static boolean isEmpty(CharSequence cs)
public static boolean nonEmpty(CharSequence cs)
public static boolean isBlank(CharSequence cs)
public static boolean nonBlank(CharSequence cs)
public static boolean isEmpty(boolean[] array)
public static boolean nonEmpty(boolean[] array)
public static boolean isBlank(boolean[] array)
public static boolean nonBlank(boolean[] array)
public static boolean isEmpty(byte[] array)
public static boolean nonEmpty(byte[] array)
public static boolean isBlank(byte[] array)
public static boolean nonBlank(byte[] array)
public static boolean isEmpty(char[] array)
public static boolean nonEmpty(char[] array)
public static boolean isBlank(char[] array)
public static boolean nonBlank(char[] array)
public static boolean isEmpty(short[] array)
public static boolean nonEmpty(short[] array)
public static boolean isBlank(short[] array)
public static boolean nonBlank(short[] array)
public static boolean isEmpty(int[] array)
public static boolean nonEmpty(int[] array)
public static boolean isBlank(int[] array)
public static boolean nonBlank(int[] array)
public static boolean isEmpty(long[] array)
public static boolean nonEmpty(long[] array)
public static boolean isBlank(long[] array)
public static boolean nonBlank(long[] array)
public static boolean isEmpty(double[] array)
public static boolean nonEmpty(double[] array)
public static boolean isBlank(double[] array)
public static boolean nonBlank(double[] array)
public static boolean isEmpty(float[] array)
public static boolean nonEmpty(float[] array)
public static boolean isBlank(float[] array)
public static boolean nonBlank(float[] array)
public static boolean isEmpty(Object[] array)
public static boolean nonEmpty(Object[] array)
public static boolean isBlank(Object[] array)
public static boolean nonBlank(Object[] array)
public static boolean isEmpty(Collection<?> collection)
public static boolean nonEmpty(Collection<?> collection)
public static boolean isBlank(Collection<?> collection)
public static boolean nonBlank(Collection<?> collection)
public static boolean isEmpty(Map<?,?> map)
public static boolean nonEmpty(Map<?,?> map)
public static boolean isBlank(Map<?,?> map)
public static boolean nonBlank(Map<?,?> map)
public static boolean isEmpty(Object obj)
public static boolean nonEmpty(Object obj)
public static boolean isBlank(Object obj)
public static boolean nonBlank(Object obj)
public static boolean isTrue(Object obj)
public static boolean isFalse(Object obj)
public static <T> T off(T t)
public static <T> T empty(Class<?> cls)
public static <T> T empty(Class<?> cls, T t)
public static <T> T nonNull(T t)
public static <T> T nonNull(Class<? extends T> cls, T t)
public static boolean isAnyEmpty(Object... objects)
public static boolean nonAnyEmpty(Object... objects)
public static boolean isAnyBlank(Object... objects)
public static boolean nonAnyBlank(Object... objects)
public static boolean isAnyNull(Object... objects)
public static boolean nonAnyNull(Object... objects)
public static void requireNon(boolean condition)
public static void requireNonEmpty(Object obj)
public static void requireNonAnyEmpty(Object... objects)
public static void requireNonBlank(Object obj)
public static void requireNonAnyBlank(Object... objects)
public static void requireNonAnyNull(Object... objects)
Copyright © 2022. All rights reserved.