public static enum MatchOption.ShouldEnum extends Enum<MatchOption.ShouldEnum>
Modifier and Type | Class and Description |
---|---|
static class |
MatchOption.ShouldEnum.Adapter |
Modifier and Type | Method and Description |
---|---|
static MatchOption.ShouldEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static MatchOption.ShouldEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchOption.ShouldEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchOption.ShouldEnum CONTAIN
public static final MatchOption.ShouldEnum EQUAL
public static MatchOption.ShouldEnum[] values()
for (MatchOption.ShouldEnum c : MatchOption.ShouldEnum.values()) System.out.println(c);
public static MatchOption.ShouldEnum 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 String getValue()
public String toString()
toString
in class Enum<MatchOption.ShouldEnum>
public static MatchOption.ShouldEnum fromValue(String value)
Copyright © 2023. All rights reserved.