public enum Text extends Enum<Text> implements BiPredicate<String,String>
Text is a BiPredicate that determines whether the first string starts with, starts
 not with, ends with, ends not with, contains or does not contain the second string argument.| Enum Constant and Description | 
|---|
| containingEvaluates if the first string contains the second. | 
| endingWithEvaluates if the first string ends with the second. | 
| notContainingEvaluates if the first string does not contain the second. | 
| notEndingWithEvaluates if the first string does not end with the second. | 
| notStartingWithEvaluates if the first string does not start with the second. | 
| startingWithEvaluates if the first string starts with the second. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Text | negate()Produce the opposite representation of the current  Textenum. | 
| static Text | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Text[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfand, or, testpublic static final Text startingWith
public static final Text notStartingWith
public static final Text endingWith
public static final Text notEndingWith
public static final Text containing
public static final Text notContaining
public static Text[] values()
for (Text c : Text.values()) System.out.println(c);
public static Text valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract Text negate()
Text enum.negate in interface BiPredicate<String,String>Copyright © 2013–2021 Apache Software Foundation. All rights reserved.