aspert
发贴: 4
积分: 0
|
于 2005-08-01 20:39
public class Properties extends Hashtable {
/** * Searches for the property with the specified key in this property list. * If the key is not found in this property list, the default property list, * and its defaults, recursively, are then checked. The method returns * <code>null</code> if the property is not found. * * @param key the property key. * @return the value in this property list with the specified key value. * @see #setProperty * @see #defaults */ public String getProperty(String key) { Object oval = super.get(key); String sval = (oval instanceof String) ? (String)oval : null; return ((sval == null) && (defaults != null)) ? defaults.getProperty(key) : sval; }
} 请问: Searches for the property with the specified key in this property list.中的“property list”里面存的property是什么东西?它是不是只是虚表,只在逻辑上称表
why edited on 2005-08-02 02:59
|