Class CoordXValidator

java.lang.Object
models.validators.CoordXValidator
All Implemented Interfaces:
Validator<Double>

public class CoordXValidator extends Object implements Validator<Double>
Implementation of validator for Coordinates.x field.
Since:
1.0
  • Constructor Details

    • CoordXValidator

      public CoordXValidator()
  • Method Details

    • validate

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