Package snaq.util.jclap
Interface StringOption.Filter
- All Known Implementing Classes:
FileOption.FileFilter
- Enclosing class:
- StringOption
- 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 StringOption.Filter
Acceptance filter for
StringOption instances.-
Method Details
-
accept
Determines whether the specified argument should be accepted for use by the hostStringOptioninstance.- Parameters:
arg- string argument to assess for acceptance- Returns:
- true if the argument should be accepted, false otherwise
-