freemarker.template.expression
Enum ExpressionBuilder.Precedence
java.lang.Object
java.lang.Enum<ExpressionBuilder.Precedence>
freemarker.template.expression.ExpressionBuilder.Precedence
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ExpressionBuilder.Precedence>
- Enclosing class:
- ExpressionBuilder
public static enum ExpressionBuilder.Precedence
- extends java.lang.Enum<ExpressionBuilder.Precedence>
Order of operator precedence. Earlier in the order means more tightly bound.
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 |
VARIABLE
public static final ExpressionBuilder.Precedence VARIABLE
NEGATION
public static final ExpressionBuilder.Precedence NEGATION
MULTIPLICATION
public static final ExpressionBuilder.Precedence MULTIPLICATION
ADDITION
public static final ExpressionBuilder.Precedence ADDITION
COMPARISON
public static final ExpressionBuilder.Precedence COMPARISON
EQUALITY
public static final ExpressionBuilder.Precedence EQUALITY
AND
public static final ExpressionBuilder.Precedence AND
OR
public static final ExpressionBuilder.Precedence OR
LAMBDA
public static final ExpressionBuilder.Precedence LAMBDA
TERNARY
public static final ExpressionBuilder.Precedence TERNARY
values
public static ExpressionBuilder.Precedence[] 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 (ExpressionBuilder.Precedence c : ExpressionBuilder.Precedence.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ExpressionBuilder.Precedence 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