⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fsarrayextension.java

📁 一个非常简洁的java脚本引擎
💻 JAVA
字号:
package murlen.util.fscript;/** * <p>FSArrayExtension - simple array extension to plug into FSFastExtension * </p> * <p> * <I>Copyright (C) 2002 </I></p> * <p> * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version.</p> * <p> * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU * Library General Public License for more details.</p> * * <p>You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA </p> * * @author Joachim Van der Auwera * * modifications by Joachim Van der Auwera * 02.08.2002 started */public interface FSArrayExtension {        /**     * <p>getVar is called whenever a variable is read in FScript that has     * not been defined within the script iteslf</p>     * <p> This version allows an index variable to be supplied for array like     * access</p>     * @param name the variable name     * @param index the index     * @return the value of the variable (as one of FScript's supported object     * types)     **/    public Object getVar(String name,Object index) throws FSException;        /**     * <p>setVar is called whenever a variable is written to in FScript that has not     * been defined within the script itself</p>     * <p> This version allows an index variable to be supplied for array like     * access</p>     * @param name the variable name     * @param index the index     * @param value the value to assign to the variable     **/    public void setVar(String name,Object index,Object value) throws FSException;}

⌨️ 快捷键说明

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