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

📄 runtime.java

📁 专业汽车级嵌入式操作系统OSEK的源代码
💻 JAVA
字号:
package java.lang;/** * Minimalist version of the standard Java Runtime class. * @author Paul Andrews */public class Runtime {  private static Runtime singleton;  /**   * Private so no one but us can create one.   */  private Runtime()  {  }  /**   * Get the single instance of us.   */  public static Runtime getRuntime()  {    if (singleton == null) {      singleton = new Runtime();    }    return singleton;  }  	  /**   * Return the amount of free memory.on the heap   *   * @return the free memory in bytes   */  public native long freeMemory();    /**   * Return the size of the heap in bytes.   *   * @return the free memory in bytes   */  public native long totalMemory();}

⌨️ 快捷键说明

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