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

📄 system.java

📁 专业汽车级嵌入式操作系统OSEK的源代码
💻 JAVA
字号:
package java.lang;/** * System utilities. */public final class System{  private System() {}    /**   * Copies one array to another.   */  //public static native void arraycopy (Object src, int srcOffset, Object dest, int destOffset, int length);  static void arraycopy (char[] src, int srcOffset, char[] dest, int destOffset, int length)  {    for (int i = 0; i < length; i++)      dest[i + destOffset] = src[i + srcOffset];   }  /**   * Terminate the application.   */  public static native void exit(int code);      /**   * Current time expressed in milliseconds. In the RCX, this is the number   * of milliseconds since the RCX has been on. (In Java, this would   * be since January 1st, 1970).   */  public static native long currentTimeMillis();    /**   * Get the singleton instance of Runtime.   */  public static Runtime getRuntime() {  	return Runtime.getRuntime();  }}

⌨️ 快捷键说明

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