差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
java:java8 [2019/07/21 22:00] tony [Articles] |
java:java8 [2021/07/03 00:18] tony [Reference] |
||
---|---|---|---|
行 8: | 行 8: | ||
* [[java:java8:exception:observerexceptionhandlingoflambda|Observer使用Lambda寫法進行通知的例外處理]] | * [[java:java8:exception:observerexceptionhandlingoflambda|Observer使用Lambda寫法進行通知的例外處理]] | ||
* [[.:java:java8:concurrent:BlockingOperationWithCompletableFuture|Blocking Operation of CompletableFuture]] | * [[.:java:java8:concurrent:BlockingOperationWithCompletableFuture|Blocking Operation of CompletableFuture]] | ||
- | * [[java:effective_java#lambdas_and_streams|lambdas and streams]] | + | * [[java:effective_java:lambdas_and_streams|lambdas and streams]] |
行 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.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://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 ==== | ||
+ | * [[https://developer.ibm.com/articles/j-java-streams-5-brian-goetz/#thenqmodel|Optimize stream pipelines for parallel processing]] | ||
+ | * [[https://stuartmarks.files.wordpress.com/2014/09/con3372-marks-parallelstreamsworkshop.pdf|Parallel Streams Workshop]] | ||
+ | * [[https://stackoverflow.com/questions/20375176/should-i-always-use-a-parallel-stream-when-possible|Should I always use a parallel stream when possible?]] | ||
+ | * [[https://qconlondon.com/london-2017/system/files/presentation-slides/concurrenttoparallel.pdf|From Concurrent to Parallel]] | ||
+ | * [[https://www.youtube.com/watch?v=x5akmCWgGY0|Parallel Streams, CompletableFuture, and All That: Concurrency in Java 8]] | ||
==== 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?]] |