Interface IPredicate.IRegexPredicate

    • Method Detail

      • getPattern

        Pattern getPattern()
        Get predicate pattern
        Returns:
        Regex predicate
      • test

        default boolean test​(@NotNull
                             @NotNull Path path)
        Evaluates this predicate on the given argument.
        Specified by:
        test in interface Predicate<Path>
        Parameters:
        path - the input argument
        Returns:
        true if the input argument matches the predicate, otherwise false