随笔分类 - Java 8
摘要:Output: It seems the local map valuesHaveBeenSeen is just created once and used throughout the iteration.
阅读全文
摘要:Reference: [1] http://shazsterblog.blogspot.co.uk/2011/12/comparison-of-countdownlatch.html CountDownLatch vs CyclicBarrier CountDownLatch can not be
阅读全文
摘要:References: [1] http://tutorials.jenkov.com/java-date-time/index.html [2] https://docs.oracle.com/javase/tutorial/datetime/iso/period.html 1. Java 8 a
阅读全文
摘要:Main reference[1]http://winterbe.com/posts/2014/07/31/java8-stream-tutorial-examples1. How Streams WorkA stream represents a sequence of elements and ...
阅读全文
摘要:Main reference:[1] http://winterbe.com/posts/2014/03/16/java-8-tutorial/[2]https://plus.google.com/107771575694787223844/posts1. Add default methods f...
阅读全文