Interface AttributeValidator<T>
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface AttributeValidator<T>
AttributeValidator.- Since:
- 7.2
- Author:
- Tristan Tarrant
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static <E extends Number>
AttributeValidator<E>greaterThanZero(Enum<?> attribute)
void
validate(T value)
-
-
-
Method Detail
-
validate
void validate(T value)
-
greaterThanZero
static <E extends Number> AttributeValidator<E> greaterThanZero(Enum<?> attribute)
-
-