org.openstreetmap.josm.gui.mappaint.mapcss
Enum Condition.Op
java.lang.Object
java.lang.Enum<Condition.Op>
org.openstreetmap.josm.gui.mappaint.mapcss.Condition.Op
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Condition.Op>
- Enclosing class:
- Condition
public static enum Condition.Op
- extends java.lang.Enum<Condition.Op>
Method Summary |
boolean |
eval(java.lang.String testString,
java.lang.String prototypeString)
|
static Condition.Op |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Condition.Op[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
EQ
public static final Condition.Op EQ
NEQ
public static final Condition.Op NEQ
GREATER_OR_EQUAL
public static final Condition.Op GREATER_OR_EQUAL
GREATER
public static final Condition.Op GREATER
LESS_OR_EQUAL
public static final Condition.Op LESS_OR_EQUAL
LESS
public static final Condition.Op LESS
REGEX
public static final Condition.Op REGEX
ONE_OF
public static final Condition.Op ONE_OF
BEGINS_WITH
public static final Condition.Op BEGINS_WITH
ENDS_WITH
public static final Condition.Op ENDS_WITH
CONTAINS
public static final Condition.Op CONTAINS
values
public static Condition.Op[] 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 (Condition.Op c : Condition.Op.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Condition.Op valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
eval
public boolean eval(java.lang.String testString,
java.lang.String prototypeString)
JOSM