Class StartsWithPredicate

java.lang.Object
org.spongepowered.api.util.StartsWithPredicate
All Implemented Interfaces:
Predicate<String>

public final class StartsWithPredicate extends Object implements Predicate<String>
Predicate that determines if the input string starts with the provided test string, case-insensitively.
  • Constructor Details

    • StartsWithPredicate

      public StartsWithPredicate(String test)
      Create an new predicate.
      Parameters:
      test - The string to test input against
  • Method Details