Interface CommandParser.CharacterValidator

All Known Implementing Classes:
CommandParser.ATOM_CHARValidator, CommandParser.DigitCharValidator, CommandParser.NoopCharValidator
Enclosing class:
CommandParser

protected static interface CommandParser.CharacterValidator
Provides the ability to ensure characters are part of a permitted set.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isValid(char chr)
    Validates the supplied character.
  • Method Details

    • isValid

      boolean isValid(char chr)
      Validates the supplied character.
      Parameters:
      chr - The character to validate.
      Returns:
      true if chr is valid, false if not.