System.arraycopy(Object src,int srcPos,Object dest,int destpos,int lenth):将指定的源数组从指定位置复制到目标数组的指定位置
System.currentTimeMills():返回当前毫秒级时间
复制数组不会改变原来的值
static void | arraycopy (Object src, int srcPos, Object dest, int destPos, int length) 将指定源数组中的数组从指定位置复制到目标数组的指定位置。 |
---|---|
static String | clearProperty (String key) 删除指定键指定的系统属性。 |
static Console | console () 返回与当前Java虚拟机关联的唯一的Console对象(如果有)。 |
static long | currentTimeMillis () 返回当前时间(以毫秒为单位)。 |
static void | exit (int status) 终止当前运行的Java虚拟机。 |
static void | gc () 运行垃圾回收器。 |
static Map <String ,String > |
getenv () 返回当前系统环境的不可修改的字符串映射视图。 |
static String | getenv (String name) 获取指定环境变量的值。 |
static Properties | getProperties () 确定当前的系统属性。 |
static String | getProperty (String key) 获取指定键指示的系统属性。 |
static String | getProperty (String key, String def) 获取指定键指示的系统属性。 |
static SecurityManager | getSecurityManager () 获取系统安全界面。 |
static int | identityHashCode (Object x) 返回与默认方法hashCode()返回的给定对象相同的哈希码,无论给定对象的类是否覆盖了hashCode()。 |
static Channel | inheritedChannel () 返回从创建此Java虚拟机的实体继承的通道。 |
static String | lineSeparator () 返回与系统相关的行分隔符字符串。 |
static void | load (String filename) 加载由filename参数指定的本机库。 |
static void | loadLibrary (String libname) 加载 libname参数指定的本机库。 |
static String | mapLibraryName (String libname) 将库名称映射到表示本地库的平台特定字符串。 |
static long | nanoTime () 以纳秒为单位返回正在运行的Java虚拟机的高分辨率时间源的当前值。 |
static void | runFinalization () 运行任何对象等待定稿的最终化方法。 |
static void | runFinalizersOnExit (boolean value) 已弃用 这种方法本质上是不安全的。它可能导致在活动对象上调用finalizer,而其他线程同时操作这些对象,导致不稳定的行为或死锁。 |
static void | setErr (PrintStream err) 重新分配“标准”错误输出流。 |
static void | setIn (InputStream in) 重新分配“标准”输入流。 |
static void | setOut (PrintStream out) 重新分配“标准”输出流。 |
static void | setProperties (Properties props) 将系统属性设置为 Properties参数。 |
static String | setProperty (String key, String value) 设置由指定键指示的系统属性。 |
static void | setSecurityManager (SecurityManager s) 设置系统安全性。 |