This action will force synchronization from 老馬/WebJava, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
/** To change this template, choose Tools | Templates* and open the template in the editor.*/package Web;import java.util.HashMap;/*** @author Ma*/public class BaseTemplate {public HashMap param;public BaseTemplate() {this.param = new HashMap();}public String display() {return null;}public String get(String s) {if (this.param.containsKey(s)) {return this.param.get(s).toString();} else {return null;}}/*** 获取boolean值** @param s* @return*/public boolean getBoolean(String s) {Boolean bool = (Boolean) this.param.get(s);return bool.booleanValue();}/*** 获取int值** @param s* @return*/public int getInt(String s) {Integer num = (Integer) this.param.get(s);return num.intValue();}/*** 获取一维数组** @param s* @return*/public Object[] getArray(String s) {return (Object[]) this.param.get(s);}/*** 获取二维数组** @param s* @return*/public Object[][] getArray2(String s) {return (Object[][]) this.param.get(s);}/*** 赋值操作*/public void assign(String key, String value) {this.param.put(key, value);}/*** 赋值操作*/public void assign(String key, int value) {this.param.put(key, value);}/*** 赋值操作*/public void assign(String key, boolean value) {this.param.put(key, value);}/*** 赋值操作*/public void assign(String key, Object[] value) {this.param.put(key, value);}}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。