Class ArrayValidator<T>
java.lang.Object
com.hypixel.hytale.codec.validation.validator.ArrayValidator<T>
- All Implemented Interfaces:
Validator<T[]>,BiConsumer<T[],ValidationResults>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionArrayValidator(LegacyValidator<T> validator) Deprecated, for removal: This API element is subject to removal in a future version.ArrayValidator(Validator<T> validator) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(T[] ts, 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
-
validator
-
-
Constructor Details
-
ArrayValidator
-
ArrayValidator
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getValidator
-
accept
- Specified by:
acceptin interfaceBiConsumer<T[],ValidationResults> - Specified by:
acceptin interfaceValidator<T>
-
updateSchema
- Specified by:
updateSchemain interfaceValidator<T>
-