public final class Validator extends Object
Validator class.
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isEmpty(List<?> list)
isEmpty.
|
static boolean |
isEmpty(Object obj)
isEmpty.
|
static void |
required(String value,
String name)
required.
|
static <T> void |
required(T object,
String name)
required.
|
public static <T> void required(T object,
String name)
required.
T - a T object.object - a T object.name - a String object.public static boolean isEmpty(Object obj)
isEmpty.
obj - a Object object.Copyright © 2015, 2019, Oracle and/or its affiliates. All rights reserved.