Interface SequentialParser.CharPredicate

All Superinterfaces:
Predicate<Character>
Enclosing class:
SequentialParser<T>
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 SequentialParser.CharPredicate extends Predicate<Character>
Represents a predicate of one character.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(char character)
    Evaluates this predicate on the given character.
    default boolean
    test(Character character)
     

    Methods inherited from interface java.util.function.Predicate

    and, negate, or
  • Method Details

    • test

      default boolean test(Character character)
      Specified by:
      test in interface Predicate<Character>
    • test

      boolean test(char character)
      Evaluates this predicate on the given character.
      Parameters:
      character - The input character
      Returns:
      true if the input argument matches the predicate, otherwise false.