public enum SearchMode extends Enum<SearchMode>
Enum Constant and Description |
---|
CONTAINS |
EQUALTO |
STARTSWITH |
Modifier and Type | Method and Description |
---|---|
static SearchMode |
get(String value) |
static SearchMode[] |
getArray(String[] values) |
String |
toString() |
String |
value() |
static SearchMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchMode STARTSWITH
public static final SearchMode CONTAINS
public static final SearchMode EQUALTO
public static SearchMode[] values()
for (SearchMode c : SearchMode.values()) System.out.println(c);
public static SearchMode 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 value()
public String toString()
toString
in class Enum<SearchMode>
public static SearchMode get(String value)
public static SearchMode[] getArray(String[] values)
Copyright © 2017 ECG. All rights reserved.