ipropertycontainer.java

来自「一个实用工具类」· Java 代码 · 共 55 行

JAVA
55
字号
/* * Copyright (C) butor.com. All rights reserved. * * This software is published under the terms of the GNU Library General * Public License (GNU LGPL), a copy of which has been included with this * distribution in the LICENSE.txt file.  */package org.butor.config.lowlevel;import java.util.List;/** * @version 	1.0 * @author */public interface IPropertyContainer {	/**	 * Add a new custom configuration property.	 *	 * @param name Object, property key	 * @param value Object, property value	 */	public void addProperty(Object name, Object value);	/**	 * Add a new custom configuration property.	 *	 * @param value Object, property value	 */	public void addProperty(Object value);	/**	 * Get configuration property value by key.	 *	 * @param name String, Property key	 * 	 * @return Object, property value	 */	public Object getProperty(String key);	/**	 * Get configuration property value by index.	 *	 * @param index int, Property index	 * 	 * @return Object, property value	 */	public Object getProperty(int index);	/**	 * Get all properties.	 * 	 * @return List.	 */	public List getProperties();}

⌨️ 快捷键说明

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