com.greenpineyu.fel.function.operator
类 Cond

java.lang.Object
  继承者 com.greenpineyu.fel.function.StableFunction
      继承者 com.greenpineyu.fel.function.operator.Cond
所有已实现的接口:
Function, Stable

public class Cond
extends StableFunction

三元表达式操作符

作者:
Administrator

构造方法摘要
Cond()
           
 
方法摘要
 Object call(FelNode node, FelContext context)
          调用函数
 String getName()
          获取函数的名称
static void main(String[] args)
           
 SourceBuilder toMethod(FelNode node, FelContext ctx)
           
 
从类 com.greenpineyu.fel.function.StableFunction 继承的方法
stable
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

Cond

public Cond()
方法详细信息

call

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

返回:

getName

public String getName()
从接口 Function 复制的描述
获取函数的名称

返回:

toMethod

public SourceBuilder toMethod(FelNode node,
                              FelContext ctx)

main

public static void main(String[] args)


Copyright © 2013. All Rights Reserved.