Contents
Class DoubleArraySizeValidator
java.lang.Object
com.hypixel.hytale.codec.validation.validator.DoubleArraySizeValidator
- All Implemented Interfaces:
Validator<double[]>, BiConsumer<double[], ValidationResults>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(double[] array, 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
-
Constructor Details
-
DoubleArraySizeValidator
public DoubleArraySizeValidator(int size)
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<double[], ValidationResults>- Specified by:
acceptin interfaceValidator<double[]>
-
updateSchema
- Specified by:
updateSchemain interfaceValidator<double[]>
-