差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
java:effective_java:lambdas_and_streams:prefer_method_references_to_lambdas [2019/07/18 23:20] tony [Introduction & My Opinion] |
java:effective_java:lambdas_and_streams:prefer_method_references_to_lambdas [2023/06/25 09:48] (目前版本) |
||
---|---|---|---|
行 14: | 行 14: | ||
{{:java:effective_java:lambdas_and_streams:effective_java_method_ref.png|}}\\ | {{:java:effective_java:lambdas_and_streams:effective_java_method_ref.png|}}\\ | ||
\\ | \\ | ||
- | **Note.** Bound指的是有參數的method reference,Unbound是無參數的。 | + | **Note.** Bound指的是有參數的method reference,Unbound是無參數的。\\ |
+ | \\ | ||
+ | 其它範例可以參考[[https://www.baeldung.com/java-method-references|link]]。 | ||
===== Note ===== | ===== Note ===== | ||
Effective Java第三版Item 43。 | Effective Java第三版Item 43。 | ||
===== Reference ===== | ===== Reference ===== | ||
* Effective Java, 3/e | * Effective Java, 3/e | ||
+ | * [[https://www.baeldung.com/java-method-references|Method References in Java]] | ||
===== ===== | ===== ===== | ||
---- | ---- |