Overview Package Class Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD DETAIL: ENUM CONSTANTS | FIELD | METHOD

org.jopendocument.dom.style
Enum RelationalOperator

java.lang.Object
 extended by java.lang.Enum<RelationalOperator>
 extended by org.jopendocument.dom.style.RelationalOperator
All Implemented Interfaces:
Serializable, Comparable<RelationalOperator>

public enum RelationalOperator
extends Enum<RelationalOperator>


Enum Constant Summary
EQ
GE
GT
LE
LT
NE
Field Summary
static String OR_PATTERN
Regular expression with all operators.
Method Summary
String asString()
boolean compare(Object o1, Object o2)
protected abstract boolean evaluate(int i)
static RelationalOperator getInstance(String op)
static RelationalOperator valueOf(String name)
Returns the enum constant of this type with the specified name.
static RelationalOperator[] 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

Enum Constant Detail

LT

public static final RelationalOperator LT

GT

public static final RelationalOperator GT

LE

public static final RelationalOperator LE

GE

public static final RelationalOperator GE

EQ

public static final RelationalOperator EQ

NE

public static final RelationalOperator NE
Field Detail

OR_PATTERN

public static final String OR_PATTERN
Regular expression with all operators.
 <|>|<=|>=|=|!=
 

Method Detail

values

public static RelationalOperator[] 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 (RelationalOperator c : RelationalOperator.values())
 System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RelationalOperator 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 name
NullPointerException - if the argument is null

asString

public final String asString()

compare

public final boolean compare(Object o1,
 Object o2)

evaluate

protected abstract boolean evaluate(int i)

getInstance

public static RelationalOperator getInstance(String op)

Overview Package Class Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD DETAIL: ENUM CONSTANTS | FIELD | METHOD

Copyright © 2010 jOpenDocument All Rights Reserved.

AltStyle によって変換されたページ (->オリジナル) /