Class CoordYValidator

java.lang.Object
models.validators.CoordYValidator
All Implemented Interfaces:
Validator<Float>

public class CoordYValidator extends Object implements Validator<Float>
Implementation of validator for Coordinates.y field.
Since:
1.0
  • Constructor Details

    • CoordYValidator

      public CoordYValidator()
  • Method Details

    • validate

      public boolean validate(Float value)
      Checks if value greater than -39
      Specified by:
      validate in interface Validator<Float>
      Parameters:
      value - y to validate
      Returns:
      true/false -- matches the restrictions
      See Also: