差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
下次修改
前次修改
下次修改 Both sides next revision
java:java8 [2019/11/11 00:29]
tony
java:java8 [2020/02/13 23:07]
tony [Thread]
行 18: 行 18:
   * [[http://​winterbe.com/​posts/​2014/​07/​31/​java8-stream-tutorial-examples/​|Java 8 Stream Tutorial]]   * [[http://​winterbe.com/​posts/​2014/​07/​31/​java8-stream-tutorial-examples/​|Java 8 Stream Tutorial]]
   * [[http://​www.informit.com/​articles/​article.aspx?​p=2171751&​seqNum=8|Dealing with Exceptions]]   * [[http://​www.informit.com/​articles/​article.aspx?​p=2171751&​seqNum=8|Dealing with Exceptions]]
-  * [[https://​dzone.com/​articles/​lambdas-and-clean-code|lambdas and clean code]] 
   * [[https://​bitmingw.com/​2017/​11/​04/​java-stream-with-functional-interface/​|Java 8 stream 与 functional interface 的珠联璧合]]   * [[https://​bitmingw.com/​2017/​11/​04/​java-stream-with-functional-interface/​|Java 8 stream 与 functional interface 的珠联璧合]]
   * [[https://​www.itread01.com/​content/​1543990442.html|Java 8 一元運算子UnaryOperator and BinaryOperator Example]]   * [[https://​www.itread01.com/​content/​1543990442.html|Java 8 一元運算子UnaryOperator and BinaryOperator Example]]
 ==== Coding Style ==== ==== Coding Style ====
   * [[https://​www.ibm.com/​developerworks/​library/​j-java8idioms6/​index.html|Why the perfect lambda expression is just one line?]]   * [[https://​www.ibm.com/​developerworks/​library/​j-java8idioms6/​index.html|Why the perfect lambda expression is just one line?]]
 +  * [[https://​dzone.com/​articles/​lambdas-and-clean-code|lambdas and clean code]]
 ==== ParallelStream ==== ==== ParallelStream ====
   * [[https://​developer.ibm.com/​articles/​j-java-streams-5-brian-goetz/#​thenqmodel|Optimize stream pipelines for parallel processing]]   * [[https://​developer.ibm.com/​articles/​j-java-streams-5-brian-goetz/#​thenqmodel|Optimize stream pipelines for parallel processing]]
行 31: 行 31:
 ==== Thread ==== ==== Thread ====
   * [[https://​stackoverflow.com/​questions/​21163108/​custom-thread-pool-in-java-8-parallel-stream|Custom thread pool in Java 8 parallel stream]]   * [[https://​stackoverflow.com/​questions/​21163108/​custom-thread-pool-in-java-8-parallel-stream|Custom thread pool in Java 8 parallel stream]]
 +  * [[https://​openhome.cc/​Gossip/​CodeData/​JDK8/​StampedLock.html|StampedLock]] JDK8的讀寫鎖性能之王
 ==== Exception Handling ==== ==== Exception Handling ====
   * [[http://​www.baeldung.com/​java-lambda-exceptions|Exceptions in Java 8 Lambda Expressions]]   * [[http://​www.baeldung.com/​java-lambda-exceptions|Exceptions in Java 8 Lambda Expressions]]
   * [[https://​github.com/​eugenp/​tutorials/​tree/​master/​core-java-8|Core Java 8 Cookbooks and Examples]]   * [[https://​github.com/​eugenp/​tutorials/​tree/​master/​core-java-8|Core Java 8 Cookbooks and Examples]]
   * [[https://​stackoverflow.com/​questions/​18198176/​java-8-lambda-function-that-throws-exception|Java 8 Lambda function that throws exception?​]]   * [[https://​stackoverflow.com/​questions/​18198176/​java-8-lambda-function-that-throws-exception|Java 8 Lambda function that throws exception?​]]