public static enum Validator.TYPE extends Enum<Validator.TYPE>
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
inRange(String value,
Object lower,
Object upper) |
static Validator.TYPE |
valueOf(Object lower,
Object upper) |
static Validator.TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Validator.TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Validator.TYPE INT
public static final Validator.TYPE LONG
public static final Validator.TYPE FLOAT
public static Validator.TYPE[] values()
for (Validator.TYPE c : Validator.TYPE.values()) System.out.println(c);
public static Validator.TYPE 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 Validator.TYPE valueOf(Object lower, Object upper)
Copyright © 2021 The Apache Software Foundation. All rights reserved.