net.fortytwo.ripple.model.enums
Enum ExpressionAssociativity

java.lang.Object
  extended by java.lang.Enum<ExpressionAssociativity>
      extended by net.fortytwo.ripple.model.enums.ExpressionAssociativity
All Implemented Interfaces:
Serializable, Comparable<ExpressionAssociativity>

public enum ExpressionAssociativity
extends Enum<ExpressionAssociativity>

Author: josh Date: Feb 29, 2008 Time: 6:12:50 PM


Enum Constant Summary
LEFT
           
RIGHT
           
 
Method Summary
static ExpressionAssociativity find(String name)
           
static ExpressionAssociativity valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ExpressionAssociativity[] 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

LEFT

public static final ExpressionAssociativity LEFT

RIGHT

public static final ExpressionAssociativity RIGHT
Method Detail

values

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

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

valueOf

public static ExpressionAssociativity 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

find

public static ExpressionAssociativity find(String name)
                                    throws RippleException
Throws:
RippleException


Copyright © 2007-2011 fortytwo.net. All Rights Reserved.