function.java
来自「ZK 基础介绍 功能操作 模块 结合数据库操作」· Java 代码 · 共 54 行
JAVA
54 行
/* Function.java{{IS_NOTE Purpose: Description: History: Thu Aug 30 10:24:49 2007, Created by tomyeh}}IS_NOTECopyright (C) 2007 Potix Corporation. All Rights Reserved.{{IS_RIGHT This program is distributed under GPL Version 2.0 in the hope that it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT*/package org.zkoss.xel;import java.lang.reflect.Method;/** * Represents a XEL function. * * @author tomyeh * @since 3.0.0 */public interface Function { /** Returns an array of Class objects that represent the formal * parameter types, in declaration order, of the method represented * by this Method object. * * <p>Returns an array of length 0 if the underlying method * takes no parameters. */ public Class[] getParameterTypes(); /** Returns a Class object that represents the formal return type * of the method * represented by this Method object. */ public Class getReturnType(); /** Invokes this method with the specified arguments. * * @param args the arguments used for the method call. * If null, Object[0] is assumed. */ public Object invoke(Object obj, Object[] args) throws Exception; /** Converts this function to a method, or null if unable to convert. */ public Method toMethod();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?