摘要: ref:http://www.bogotobogo.com/Hadoop/BigData_hadoop_Ecosystem.php Hadoop consist of two main pieces, HDFS and MapReduce The HDFS is the data part of H 阅读全文
posted @ 2016-07-01 14:45 morningdew 阅读(272) 评论(0) 推荐(0) 编辑
摘要: Comparable 是排序接口,一个类实现了comparable接口,就意味着 该类支持排序, List<该类> 可以通过 Collections.sort() 或者 Arrays.sort() 进行排序 此外,实现Comparable接口的类 可以用作 有序影射(如 TreeMap)中的 key 阅读全文
posted @ 2016-06-30 15:55 morningdew 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Array.sort() 1. Arrays.sort(int[] a): 从大到小的排序 2. Arrays.sort(int[] a, int fromIndex, int toIndex): 从大到小的排序 3. public static<T> void sort(T[] a, int fr 阅读全文
posted @ 2016-06-30 15:31 morningdew 阅读(207) 评论(0) 推荐(0) 编辑
摘要: This maven command will create a Java project with the below details: groupId will be com.java.samples, representing the package. artifactId will be J 阅读全文
posted @ 2016-06-29 22:16 morningdew 阅读(134) 评论(0) 推荐(0) 编辑
摘要: This maven command will create a Java project with the below details: groupId will be com.java.samples, representing the package. artifactId will be J 阅读全文
posted @ 2016-06-29 21:23 morningdew 阅读(169) 评论(0) 推荐(0) 编辑
摘要: ref: http://www.studytonight.com/java/serialization-and-deserialization.php Serialization and Deserialization in Java Serializationis a process of con 阅读全文
posted @ 2016-06-27 14:01 morningdew 阅读(289) 评论(0) 推荐(0) 编辑
摘要: ref: http://www.studytonight.com/java/java-io-stream.php IO Stream Java performs I/O through Streams. A stream is linked to physical layer by java I/O 阅读全文
posted @ 2016-06-27 13:39 morningdew 阅读(374) 评论(0) 推荐(0) 编辑
摘要: ref: http://www.studytonight.com/java/enumerations Enumerations Enumeration was added to Java language in JDK5. Enumeration means a list is named cons 阅读全文
posted @ 2016-06-27 11:42 morningdew 阅读(964) 评论(0) 推荐(0) 编辑
摘要: ref: http://www.studytonight.com/java/reflection-api Reflection API reflection means ability of a software to analyze itself. In java, Reflection API 阅读全文
posted @ 2016-06-27 11:22 morningdew 阅读(217) 评论(0) 推荐(0) 编辑
摘要: ref: http://www.studytonight.com/java/collection-framework.php Collection Framework collection frame work was not part of original Java release. Colel 阅读全文
posted @ 2016-06-27 10:08 morningdew 阅读(546) 评论(0) 推荐(0) 编辑