差異處
這裏顯示兩個版本的差異處。
java:java8 [2019/08/04 00:18] tony |
java:java8 [2023/06/25 09:48] |
||
---|---|---|---|
行 1: | 行 1: | ||
- | {{tag>java lambda}} | ||
- | ====== Java 8 ====== | ||
- | ===== Introduction ===== | ||
- | 最近開始學習Lambda,會陸續記載一些筆記。 | ||
- | ==== Articles ==== | ||
- | * [[.:java8:memo|Memo]] | ||
- | * [[.:java8:FunctionalInterface:method_reference|Method Reference]] | ||
- | * [[java:java8:exception:observerexceptionhandlingoflambda|Observer使用Lambda寫法進行通知的例外處理]] | ||
- | * [[.:java:java8:concurrent:BlockingOperationWithCompletableFuture|Blocking Operation of CompletableFuture]] | ||
- | * [[java:effective_java#lambdas_and_streams|lambdas and streams]] | ||
- | |||
- | |||
- | ===== Reference ===== | ||
- | * Java8 Lambdas 技術手冊 | ||
- | * [[http://blog.tonycube.com/2015/10/java-java8-4-optional.html|Optional]] | ||
- | * [[https://dzone.com/articles/writing-clean-predicates-java|writing-clean-predicates-java]] | ||
- | * [[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]] | ||
- | * [[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://www.ibm.com/developerworks/library/j-java8idioms6/index.html|Why the perfect lambda expression is just one line?]] | ||
- | ==== 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?]] | ||
- | ==== Thread ==== | ||
- | * [[https://stackoverflow.com/questions/21163108/custom-thread-pool-in-java-8-parallel-stream|Custom thread pool in Java 8 parallel stream]] | ||
- | ==== Exception Handling ==== | ||
- | * [[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://stackoverflow.com/questions/18198176/java-8-lambda-function-that-throws-exception|Java 8 Lambda function that throws exception?]] |