Enum SearchCompiler.ExactKeyValue.Mode
- java.lang.Object
-
- java.lang.Enum<SearchCompiler.ExactKeyValue.Mode>
-
- org.openstreetmap.josm.data.osm.search.SearchCompiler.ExactKeyValue.Mode
-
- All Implemented Interfaces:
Serializable
,Comparable<SearchCompiler.ExactKeyValue.Mode>
- Enclosing class:
- SearchCompiler.ExactKeyValue
public static enum SearchCompiler.ExactKeyValue.Mode extends Enum<SearchCompiler.ExactKeyValue.Mode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
ANY_KEY
ANY_KEY_REGEXP
ANY_VALUE
ANY_VALUE_REGEXP
EXACT
EXACT_REGEXP
MISSING_KEY
MISSING_KEY_REGEXP
NONE
-
Constructor Summary
Constructors Modifier Constructor Description private
Mode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchCompiler.ExactKeyValue.Mode
valueOf(String name)
Returns the enum constant of this type with the specified name.static SearchCompiler.ExactKeyValue.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final SearchCompiler.ExactKeyValue.Mode ANY
-
ANY_KEY
public static final SearchCompiler.ExactKeyValue.Mode ANY_KEY
-
ANY_VALUE
public static final SearchCompiler.ExactKeyValue.Mode ANY_VALUE
-
EXACT
public static final SearchCompiler.ExactKeyValue.Mode EXACT
-
NONE
public static final SearchCompiler.ExactKeyValue.Mode NONE
-
MISSING_KEY
public static final SearchCompiler.ExactKeyValue.Mode MISSING_KEY
-
ANY_KEY_REGEXP
public static final SearchCompiler.ExactKeyValue.Mode ANY_KEY_REGEXP
-
ANY_VALUE_REGEXP
public static final SearchCompiler.ExactKeyValue.Mode ANY_VALUE_REGEXP
-
EXACT_REGEXP
public static final SearchCompiler.ExactKeyValue.Mode EXACT_REGEXP
-
MISSING_KEY_REGEXP
public static final SearchCompiler.ExactKeyValue.Mode MISSING_KEY_REGEXP
-
-
Constructor Detail
-
Mode
private Mode()
-
-
Method Detail
-
values
public static SearchCompiler.ExactKeyValue.Mode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SearchCompiler.ExactKeyValue.Mode c : SearchCompiler.ExactKeyValue.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchCompiler.ExactKeyValue.Mode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-