摘要:1 public class MaoPaoSort { 2 3 /** 4 * @param args 5 */ 6 public static void main(String[] args) { 7 int a[] = { 10, 8, 12, 5, 4 }; 8 int temp; 9 ...
阅读全文
摘要:1 public class InsertSort { 2 3 /** 4 * 直接插入排序 5 */ 6 public static void main(String[] args) { 7 int a[] = { 10, 8, 14, 9,17,3,15 }; 8 int temp = 0; 9 ...
阅读全文
摘要:1 public class MaoPaoSort { 2 3 /** 4 * @param args 5 */ 6 public static void main(String[] args) { 7 int a[] = { 10, 8, 12, 5, 4 }; 8 int temp; 9 ...
阅读全文
摘要:http://www.blogjava.net/rorely/archive/2010/01/15/309732.html 原博客地址
阅读全文
摘要:本人实习生一枚,在进行河北机房监控扩容项目改造时,由于客户新增服务器开启snmp后无法监测,后经证实为snmp配置文件未添加指标OID(具体怎么叫我也不是很清楚) 如 磁盘资源OID1.3.6.1.2.1.25.2.3.1 进程数 OID1.3.6.1.2.1.25.1 CPU OID1.3.6.1
阅读全文
摘要:1 import java.util.Iterator; 2 import java.util.LinkedList; 3 4 public class Fast { 5 6 /** 7 * 在链表中很多题目的解法都跟大小指针有关。 比如这道题目,设立两个指针,一个单步走,一个两步走, 当大步指针到达链表尾部的时候,小步指针...
阅读全文