Class NonEmptyArrayValidator<T>
java.lang.Object
com.hypixel.hytale.codec.validation.validator.NonNullValidator<T[]>
com.hypixel.hytale.codec.validation.validator.NonEmptyArrayValidator<T>
- All Implemented Interfaces:
Validator<T[]>,BiConsumer<T[],ValidationResults>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(T[] t, ValidationResults results) voidupdateSchema(SchemaContext context, Schema target) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiConsumer
andThen
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NonEmptyArrayValidator
private NonEmptyArrayValidator()
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<T[],ValidationResults> - Specified by:
acceptin interfaceValidator<T>- Overrides:
acceptin classNonNullValidator<T[]>
-
updateSchema
- Specified by:
updateSchemain interfaceValidator<T>- Overrides:
updateSchemain classNonNullValidator<T[]>
-