legacyhashtable.java

来自「Azureus is a powerful, full-featured, cr」· Java 代码 · 共 34 行

JAVA
34
字号
/* Written and copyright 2001-2003 Tobias Minich.
 * Distributed under the GNU General Public License; see the README file.
 * This code comes with NO WARRANTY.
 *
 *
 * LegacyHashtable.java
 *
 * Created on 31. August 2003, 18:16
 */

package org.gudy.azureus2.ui.common.util;

import java.util.Hashtable;

/**
 *
 * @author  tobi
 */
public class LegacyHashtable extends Hashtable {
  
  /** Creates a new instance of LegacyHashtable */
  public LegacyHashtable() {
    super();
  }
  
  public Object get(Object key) {
    if (containsKey(key))
      return super.get(key);
    else
      return "";
  }
  
}

⌨️ 快捷键说明

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