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

📄 methodarea.java

📁 Java源码
💻 JAVA
字号:
package AM.vm_impl.vm_data_structure;

import java.util.*;

import AM.vm_impl.util.*;

/**
 * Created by IntelliJ IDEA. User: yellowicq Date: 2004-4-27 Time: 13:16:40
 * To change this template use File | Settings | File Templates.
 */

public class MethodArea {
  private HashMap classMap;
  public MethodArea() {
  }

  public void Init() {
    //do smthing init heap
    classMap = new HashMap();
  }

  public void addClassMapping(Object className, Class clazz) {
    classMap.put(className, clazz);
  }

  public Class getClassMapping(Object className) {
    return (Class) classMap.get(className);
  }

  public void traceMethodArea() {
    Tracer.debug("Current MethodArea: [" + classMap.toString() + "]");
  }

}

⌨️ 快捷键说明

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