10 2016 档案

java冒泡排序代码
摘要: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 ... 阅读全文

posted @ 2016-10-24 14:39 一路致金 阅读(184) 评论(0) 推荐(0)

java直接插入排序代码
摘要: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 ... 阅读全文

posted @ 2016-10-24 14:37 一路致金 阅读(303) 评论(0) 推荐(0)

java冒泡排序代码
摘要: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 ... 阅读全文

posted @ 2016-10-24 14:04 一路致金 阅读(355) 评论(0) 推荐(0)

约瑟夫问题的JAVA实现(借鉴别人的代码+自己分析理解)
摘要:http://www.blogjava.net/rorely/archive/2010/01/15/309732.html 原博客地址 阅读全文

posted @ 2016-10-21 15:23 一路致金 阅读(365) 评论(0) 推荐(0)

snmp协议开启后,无法监测到各项指标CPU,进程,磁盘利用率等
摘要:本人实习生一枚,在进行河北机房监控扩容项目改造时,由于客户新增服务器开启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 阅读全文

posted @ 2016-10-18 14:00 一路致金 阅读(976) 评论(0) 推荐(0)

快速查找链表中间节点的JAVA代码
摘要:1 import java.util.Iterator; 2 import java.util.LinkedList; 3 4 public class Fast { 5 6 /** 7 * 在链表中很多题目的解法都跟大小指针有关。 比如这道题目,设立两个指针,一个单步走,一个两步走, 当大步指针到达链表尾部的时候,小步指针... 阅读全文

posted @ 2016-10-18 10:45 一路致金 阅读(689) 评论(8) 推荐(0)

导航