Package org.spongepowered.api.util
Class StartsWithPredicate
- java.lang.Object
-
- org.spongepowered.api.util.StartsWithPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<java.lang.String>
public final class StartsWithPredicate extends java.lang.Object implements java.util.function.Predicate<java.lang.String>
Predicate that determines if the input string starts with the provided test string, case-insensitively.
-
-
Constructor Summary
Constructors Constructor Description StartsWithPredicate(java.lang.String test)
Create an new predicate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(@Nullable java.lang.String input)
-