com.greenpineyu.fel.function.operator
类 LessThen

java.lang.Object
  继承者 com.greenpineyu.fel.function.operator.LessThen
所有已实现的接口:
Function, Stable
直接已知子类:
GreaterThan, GreaterThenEqual, LessThenEqual

public class LessThen
extends Object
implements Stable, Function

包名 .script.function.operator 类名 RelationalOperator.java 创建日期 Oct 26, 20103:04:25 PM 作者 版权


构造方法摘要
LessThen()
           
 
方法摘要
static StringBuilder buildRelationExpr(FelNode node, FelContext ctx, String operator)
          小于 <
 Object call(FelNode node, FelContext context)
          调用函数
 boolean compare(Object left, Object right)
          小于
 String getName()
          大于等于 >=
static void main(String[] args)
           
 boolean stable()
          此节点的值是否固定不变 如果每次求节点值都相同,说明此节点是稳定的。
 FelMethod toMethod(FelNode node, FelContext ctx)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

LessThen

public LessThen()
方法详细信息

call

public Object call(FelNode node,
                   FelContext context)
从接口 Function 复制的描述
调用函数

指定者:
接口 Function 中的 call
返回:

compare

public boolean compare(Object left,
                       Object right)
小于

参数:
left -
right -
返回:

buildRelationExpr

public static StringBuilder buildRelationExpr(FelNode node,
                                              FelContext ctx,
                                              String operator)
小于 <

参数:
left -
right -
返回:

getName

public String getName()
大于等于 >=

指定者:
接口 Function 中的 getName
参数:
left -
right -
返回:

toMethod

public FelMethod toMethod(FelNode node,
                          FelContext ctx)
指定者:
接口 Function 中的 toMethod

stable

public boolean stable()
从接口 Stable 复制的描述
此节点的值是否固定不变 如果每次求节点值都相同,说明此节点是稳定的。

指定者:
接口 Stable 中的 stable
返回:

main

public static void main(String[] args)


Copyright © 2013. All Rights Reserved.