Skip to content

Commit c740d08

Browse files
committed
Java 8: sources were moved to a subfolder
1 parent b87061c commit c740d08

18 files changed

Lines changed: 37 additions & 24 deletions

File tree

README.md

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,13 @@
11
# java-new-features
22
@author Wesley Egberto
33

4-
A project to explore more about the new features of Java...
5-
6-
- new methods from APIs
7-
- lambda expression to create anonymous method
8-
- lambda access scope (enclosing scope)
9-
- lambda expression to call constructors through method reference
10-
- Streams
11-
12-
13-
Lambda expression consiste of:
14-
15-
- A comma-separated list of formal parameters enclosed in parentheses: (paramX, paramY) or singleParam or ()
16-
- An [weird] arrow token: ->
17-
- A body, which consists of a single expression or a statement block: {} or a single expression without ;
18-
19-
E.g.:
20-
21-
- (x, y) -> return x + y
22-
- (x, y) -> { System.out.println(x); System.out.println(y); }
23-
- name -> System.out.println(name)
24-
25-
26-
For further information read the Java Tutorial at section about [Lambda Expressions] (http://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html).
27-
4+
A project to explore more about the new features of Java 8, 9, ...
5+
6+
* Java 8
7+
* API
8+
* Stream
9+
* Lambda
10+
11+
* Java 9
12+
* Modules
13+
* JLink

java-8/README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# java-new-features
2+
@author Wesley Egberto
3+
4+
A project to explore more about the new features of Java...
5+
6+
- new methods from APIs
7+
- lambda expression to create anonymous method
8+
- lambda access scope (enclosing scope)
9+
- lambda expression to call constructors through method reference
10+
- Streams
11+
12+
13+
Lambda expression consiste of:
14+
15+
- A comma-separated list of formal parameters enclosed in parentheses: (paramX, paramY) or singleParam or ()
16+
- An [weird] arrow token: ->
17+
- A body, which consists of a single expression or a statement block: {} or a single expression without ;
18+
19+
E.g.:
20+
21+
- (x, y) -> return x + y
22+
- (x, y) -> { System.out.println(x); System.out.println(y); }
23+
- name -> System.out.println(name)
24+
25+
26+
For further information read the Java Tutorial at section about [Lambda Expressions] (http://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html).
27+
File renamed without changes.

src/main/java/com/github/wesleyegberto/api/base64/Base64Example.java renamed to java-8/src/main/java/com/github/wesleyegberto/api/base64/Base64Example.java

File renamed without changes.

src/main/java/com/github/wesleyegberto/api/base64/UrlEncoderExample.java renamed to java-8/src/main/java/com/github/wesleyegberto/api/base64/UrlEncoderExample.java

File renamed without changes.

src/main/java/com/github/wesleyegberto/api/datetime/ClockTest.java renamed to java-8/src/main/java/com/github/wesleyegberto/api/datetime/ClockTest.java

File renamed without changes.

src/main/java/com/github/wesleyegberto/api/nashorn/EngineTest.java renamed to java-8/src/main/java/com/github/wesleyegberto/api/nashorn/EngineTest.java

File renamed without changes.

src/main/java/com/github/wesleyegberto/api/objectsvalidation/ValidationExamples.java renamed to java-8/src/main/java/com/github/wesleyegberto/api/objectsvalidation/ValidationExamples.java

File renamed without changes.

src/main/java/com/github/wesleyegberto/interfaces/InterfaceTest.java renamed to java-8/src/main/java/com/github/wesleyegberto/interfaces/InterfaceTest.java

File renamed without changes.

src/main/java/com/github/wesleyegberto/lambdas/Example_Consumers.java renamed to java-8/src/main/java/com/github/wesleyegberto/lambdas/Example_Consumers.java

File renamed without changes.

0 commit comments

Comments
 (0)