com.greenpineyu.fel.function.operator
类 Equal
java.lang.Object
com.greenpineyu.fel.function.StableFunction
com.greenpineyu.fel.function.operator.Equal
- 所有已实现的接口:
- Function, Stable
- 直接已知子类:
- NotEqual
public class Equal
- extends StableFunction
|
方法摘要 |
static void |
appendBoolean(Class<?> type,
String src,
StringBuilder sb)
|
static void |
appendNumber(Class<?> type,
String src,
StringBuilder sb)
|
static StringBuilder |
buildRelationExpr(FelNode node,
FelContext ctx,
String operator)
|
Object |
call(FelNode node,
FelContext context)
调用函数 |
static boolean |
equals(Object left,
Object right)
|
static String |
getChildCode(FelNode node,
FelContext ctx,
int index)
|
String |
getName()
获取函数的名称 |
FelMethod |
toMethod(FelNode node,
FelContext ctx)
|
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Equal
public Equal()
getName
public String getName()
- 从接口
Function 复制的描述
- 获取函数的名称
- 返回:
call
public Object call(FelNode node,
FelContext context)
- 从接口
Function 复制的描述
- 调用函数
- 返回:
equals
public static boolean equals(Object left,
Object right)
toMethod
public FelMethod toMethod(FelNode node,
FelContext ctx)
getChildCode
public static String getChildCode(FelNode node,
FelContext ctx,
int index)
buildRelationExpr
public static StringBuilder buildRelationExpr(FelNode node,
FelContext ctx,
String operator)
appendNumber
public static void appendNumber(Class<?> type,
String src,
StringBuilder sb)
appendBoolean
public static void appendBoolean(Class<?> type,
String src,
StringBuilder sb)
Copyright © 2013. All Rights Reserved.