public enum StringComparison extends Enum<StringComparison>
Enum Constant and Description |
---|
CONTAINS |
DOES_NOT_CONTAIN |
ENDS_WITH |
IS |
IS_NOT |
IS_NOT_NULL |
IS_NULL |
REGEX |
STARTS_WITH |
Modifier and Type | Method and Description |
---|---|
static StringComparison |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringComparison[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringComparison IS
public static final StringComparison CONTAINS
public static final StringComparison IS_NOT
public static final StringComparison DOES_NOT_CONTAIN
public static final StringComparison STARTS_WITH
public static final StringComparison ENDS_WITH
public static final StringComparison IS_NULL
public static final StringComparison IS_NOT_NULL
public static final StringComparison REGEX
public static StringComparison[] values()
for (StringComparison c : StringComparison.values()) System.out.println(c);
public static StringComparison 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 nullCopyright © 2022 Splunk, Inc.. All rights reserved.