摘要:
<button onclick="open1()">kaiqi</button> <button onclick="close1()">close</button> <script> var s//全局变量 function open1() { s = open("https://www.baidu 阅读全文
摘要:
String candidate = "this is a test, A TEST."; String regex = "[a-zA-Z]+"; Pattern p = Pattern.compile(regex); Matcher m = p.matcher(candidate); 阅读全文
摘要:
Arrays.copyof() int[] copied = Arrays.copyOf(arr, 10); //10 the the length of the new array System.out.println(Arrays.toString(copied)); copied = Arra 阅读全文
摘要:
System提供了一个静态方法arraycopy(),我们可以使用它来实现数组之间的复制。其函数原型是: public static void arraycopy(Object src, int srcPos, Object dest, int destPos, int length) src:源数 阅读全文