jhomenet.responsive
Enum Expression.OPERATORS

java.lang.Object
  extended by java.lang.Enum<Expression.OPERATORS>
      extended by jhomenet.responsive.Expression.OPERATORS
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Expression.OPERATORS>
Enclosing class:
Expression

public static enum Expression.OPERATORS
extends java.lang.Enum<Expression.OPERATORS>


Enum Constant Summary
AND
           
CLOSE_P
           
NOT
           
OPEN_P
           
OR
          List of known expression operators.
 
Method Summary
 boolean equals(java.lang.String s)
          Check whether two operators are equal.
 java.lang.String toString()
           
static Expression.OPERATORS valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Expression.OPERATORS[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OR

public static final Expression.OPERATORS OR
List of known expression operators.


AND

public static final Expression.OPERATORS AND

NOT

public static final Expression.OPERATORS NOT

OPEN_P

public static final Expression.OPERATORS OPEN_P

CLOSE_P

public static final Expression.OPERATORS CLOSE_P
Method Detail

values

public static final Expression.OPERATORS[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Expression.OPERATORS c : Expression.OPERATORS.values())
        System.out.println(c);

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

valueOf

public static Expression.OPERATORS 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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<Expression.OPERATORS>
See Also:
Object.toString()

equals

public boolean equals(java.lang.String s)
Check whether two operators are equal.

Parameters:
s -
Returns:
Whether the two are equal


Copyright © 2004-2005 David Irwin. All Rights Reserved.