public enum Validator extends Enum<Validator>
| Modifier and Type | Method and Description |
|---|---|
static <T> T[] |
hasExactLength(T[] array,
int size,
String message) |
static String[] |
partsAreNotEmpty(String[] array,
String message) |
static Validator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Validator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Validator[] values()
for (Validator c : Validator.values()) System.out.println(c);
public static Validator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static <T> T[] hasExactLength(T[] array,
int size,
String message)
throws InvalidXPath
InvalidXPathpublic static String[] partsAreNotEmpty(String[] array, String message) throws InvalidXPath
InvalidXPathCopyright © 2019. All rights reserved.