Skip to content

Commit a9cdbd0

Browse files
committed
feat(method-reference): arquivos e referências
Acrescentado arquivos e referências iniciais para a seção de Method Reference. Issue #22
1 parent a9b7ce8 commit a9cdbd0

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
:java-package: src/org/j6toj8/lambda
2+
:section-java-package: ../../../{java-package}
3+
4+
=== Referências a Métodos (Method Reference)
5+
6+
.Objetivo
7+
--------------------------------------------------
8+
Develop code that uses a method reference, including refactoring a lambda expression to a method reference.
9+
-
10+
Desenvolver código que utiliza uma referência a método, incluindo a refatoração de uma expressão lambda para uma referência a método.
11+
--------------------------------------------------
12+
13+
.Referências
14+
****
15+
16+
* Using Method References
17+
+
18+
Boyarsky, Jeanne; Selikoff, Scott. OCP: Oracle Certified Professional Java SE 8 Programmer II Study Guide (p. 152). Wiley. Edição do Kindle.
19+
20+
* https://www.baeldung.com/java-method-references[Method References in Java.]
21+
22+
* https://docs.oracle.com/javase/tutorial/java/javaOO/methodreferences.html[Method References.] The Java™ Tutorials.
23+
24+
****

ch04-lambda.asc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33

44
include::book/04-lambda/sections/01-functional-interfaces.asc[]
55
include::book/04-lambda/sections/02-lambda-expression.asc[]
6-
include::book/04-lambda/sections/03-built-in-interfaces.asc[]
6+
include::book/04-lambda/sections/03-built-in-interfaces.asc[]
7+
include::book/04-lambda/sections/04-method-reference.asc[]

0 commit comments

Comments
 (0)