摘要:
1.冒泡排序 2.二分法 public static int getT(int [] a ,int tag){ int first =0; int end = a.length; for (int i = 0; i < a.length; i++) { int temp = (first+end)/ 阅读全文
摘要:
今天在启动服务器的时候 发生错误 Open quote is expected for attribute "type" associated with an element type "resultMap" 造成的原因是 mybatis.xml中的 type 少了引号 正常的启动,加载到自己新加入 阅读全文
摘要:
public final int getAndIncrement() { for (;;) { int current = get(); int next = current + 1; if (compareAndSet(current, next)) return current; } } 这个方 阅读全文