Interface Validator.Checker

Enclosing interface:
Validator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Validator.Checker
A functional interface that is used to check if a string is valid
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    valid(String input)
    Checks if a string is valid
  • Method Details

    • valid

      boolean valid(String input)
      Checks if a string is valid
      Parameters:
      input - String to check
      Returns:
      True if the string is valid, false otherwise