差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
java:java8 [2019/11/10 23:18] tony [Reference] |
java:java8 [2023/06/25 09:48] (目前版本) |
||
---|---|---|---|
行 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.ibm.com/developerworks/library/j-java8idioms6/index.html|Why the perfect lambda expression is just one line?]] | ||
* [[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]] | ||
+ | * [[https://www.youtube.com/watch?v=Ej0sss6cq14&t=3329s|Why Not Use Optional in Fields?]][[https://youtu.be/fBYhtvY19xA?t=2069|Why Not Use Optional in Fields?]] | ||
+ | ==== Coding Style ==== | ||
+ | * [[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]] | ||
行 30: | 行 32: | ||
==== 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?]] |