诡影苍穹

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2015年11月19日

摘要: public class User{ //All final attributes private final String firstName; // required private final String lastName; // required private f... 阅读全文
posted @ 2015-11-19 03:40 诡影苍穹 阅读(113) 评论(0) 推荐(0) 编辑

2015年10月5日

摘要: object MergeSort { def msort[T](less: (T, T) => Boolean)(xs: List[T]): List[T] = { def merge(xs: List[T], ys: List[T]): List[T] = { (xs, ys) ... 阅读全文
posted @ 2015-10-05 06:40 诡影苍穹 阅读(285) 评论(0) 推荐(0) 编辑

2015年9月27日

摘要: Q1. Name the most common InputFormats defined in Hadoop? Which one is default?Following 2 are most common InputFormats defined in Hadoop- TextInputFor... 阅读全文
posted @ 2015-09-27 03:30 诡影苍穹 阅读(186) 评论(0) 推荐(0) 编辑

摘要: ConcurrentHashMap通常只被看做并发效率更高的Map,用来替换其他线程安全的Map容器,比如Hashtable和Collections.synchronizedMap。实际上,线程安全的容器,特别是Map,应用场景没有想象中的多,很多情况下一个业务会涉及容器的多个操作,即复合操作,并发... 阅读全文
posted @ 2015-09-27 03:23 诡影苍穹 阅读(231) 评论(0) 推荐(0) 编辑

摘要: Loan Pattern as the name suggests would loan a resource to your function. So if you break out the sentence. It wouldCreate a resource which you can us... 阅读全文
posted @ 2015-09-27 03:12 诡影苍穹 阅读(225) 评论(0) 推荐(0) 编辑