|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.el.Expression
javax.el.ValueExpression
com.caucho.el.Expr
com.caucho.el.AbstractBooleanExpr
com.caucho.el.NeExpr
public class NeExpr
Represents the numeric comparison operation: ne
Field Summary |
---|
Fields inherited from class com.caucho.el.Expr |
---|
L, log |
Constructor Summary | |
---|---|
NeExpr(Expr left,
Expr right)
Creates a comparison expression |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Returns true for equal strings. |
boolean |
evalBoolean(ELContext env)
Evaluate the expression as a boolean. |
boolean |
isConstant()
Returns true if this is a constant expression. |
void |
printCreate(WriteStream os)
Prints the code to create an LongLiteral. |
java.lang.String |
toString()
Returns a readable representation of the expr. |
Methods inherited from class com.caucho.el.AbstractBooleanExpr |
---|
evalDouble, evalLong, evalString, getValue, print |
Methods inherited from class com.caucho.el.Expr |
---|
coerceToType, createField, createField, createMethod, error, evalBigDecimal, evalBigInteger, evalCharacter, evalObject, evalPeriod, evalStringWithNull, getExpectedType, getExpressionString, getMethodInfo, getType, hashCode, invocationError, invoke, isDouble, isDoubleString, isLiteralText, isReadOnly, print, printEscaped, printEscapedString, setProperty, setValue, toBigDecimal, toBigInteger, toBoolean, toCharacter, toClass, toDouble, toEnum, toLong, toStream, toStream, toStream, toStreamEscaped, toStreamEscaped, toStreamEscaped, toString, toString, toString, toString, toString, toStringWithNull |
Methods inherited from class javax.el.ValueExpression |
---|
getValueReference |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NeExpr(Expr left, Expr right)
op
- the lexical code for the operationleft
- the left subexpressionright
- the right subexpressionMethod Detail |
---|
public boolean isConstant()
isConstant
in class Expr
public boolean evalBoolean(ELContext env) throws ELException
evalBoolean
in class AbstractBooleanExpr
env
- the variable environment
ELException
public void printCreate(WriteStream os) throws java.io.IOException
printCreate
in class Expr
os
- the stream to the *.java page
java.io.IOException
public boolean equals(java.lang.Object o)
equals
in class Expr
public java.lang.String toString()
toString
in class Expr
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |