Interface IPredicate.IExtensionPredicate

All Superinterfaces:
Predicate<Path>
Enclosing interface:
IPredicate

public static interface IPredicate.IExtensionPredicate extends Predicate<Path>
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Accept directories
    Get all predicate extensions
    default boolean
    test(Path path)
    Evaluates this predicate on the given argument.

    Methods inherited from interface java.util.function.Predicate

    and, negate, or
  • Method Details

    • getExtensions

      String[] getExtensions()
      Get all predicate extensions
      Returns:
      All predicate extensions
    • acceptDirectories

      default boolean acceptDirectories()
      Accept directories
      Returns:
      Returns the status
    • test

      default boolean test(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