net.fortytwo.ripple.model.enums
Enum ExpressionAssociativity
java.lang.Object
java.lang.Enum<ExpressionAssociativity>
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
LEFT
public static final ExpressionAssociativity LEFT
RIGHT
public static final ExpressionAssociativity RIGHT
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.