public final class StartsWithPredicate extends Object implements java.util.function.Predicate<String>
Constructor and Description |
---|
StartsWithPredicate(String test)
Create an new predicate.
|
Modifier and Type | Method and Description |
---|---|
boolean |
test(String input) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and, isEqual, negate, or
public StartsWithPredicate(String test)
test
- The string to test input againstpublic boolean test(@Nullable String input)
test
in interface java.util.function.Predicate<String>