Java
文章平均质量分 72
蒲公英丶种子
勤于思考,乐于总结
展开
-
Process.waitFor()的返回值含义
以下是Linux中返回值对照表 "OS error code 1: Operation not permitted" "OS error code 2: No such file or directory" "OS error code 3: No such process" "OS error code 4: Interrupted system call"转载 2014-09-11 16:33:31 · 15878 阅读 · 0 评论 -
二分查找(java实现)
二分 public class BinarySearch { public static void main(String[] args) { int[] arr = new int[] { 1, 2, 4, 6, 7, 8, 9, 10 }; BinarySearch bs = new BinarySearch(); int pos = bs.recurs原创 2014-11-20 17:00:35 · 496 阅读 · 0 评论