Module com.github.ushiosan.jvm
Interface IPredicate.IRegexPredicate
- Enclosing interface:
- IPredicate
-
Method Summary
Modifier and TypeMethodDescriptionGet predicate patterndefault booleanAccept only file namesdefault booleanEvaluates this predicate on the given argument.
-
Method Details
-
getPattern
Pattern getPattern()Get predicate pattern- Returns:
- Regex predicate
-
onlyFileNames
default boolean onlyFileNames()Accept only file names- Returns:
- Return current status
-
test
Evaluates this predicate on the given argument.
-