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