function.java

来自「用applet实现很多应用小程序」· Java 代码 · 共 34 行

JAVA
34
字号
package prefuse.data.expression;

/**
 * Expression sub-interface representing a function in the prefuse
 * expression language.
 * 
 * @author <a href="http://jheer.org">jeffrey heer</a> 
 */
public interface Function extends Expression {

    /** Constant indicating a vriable argument count */
    public static final int VARARGS = -1;
    
    /**
     * Get the name of this function.
     * @return the function name
     */
    public String getName();
    
    /**
     * Add a parameter value sub-expression to this function.
     * @param e the parameter sub-expression
     */
    public void addParameter(Expression e);
    
    /**
     * Get the maximum number of parameters accepted by this Function.
     * @return the maximum number of parametes accepted, or
     * {@link #VARARGS} is the number is variable.
     */
    public int getParameterCount();
    
} // end of interface Function

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?