224 Commits

Author SHA1 Message Date
kwoyke
c18f588f28 BAEL-2861 Fix example in Lambda Expressions article (#6696) 2019-04-10 07:43:41 +02:00
kwoyke
e4725557a2 BAEL-2777 Add a new section in Sorting with Lambda article (#6546) 2019-03-21 09:43:08 -06:00
kwoyke
c59211f756 BAEL-2776 Chaining Optionals in Java 8 (#6502)
* BAEL-2776 Chaining Optionals in Java 8

* BAEL-2776 Improvements after the first review
2019-03-10 19:18:23 -07:00
Loredana
56c7ea955d rename failing test 2019-02-24 09:09:41 +02:00
Alejandro Gervasio
ca4440d792 Guide to Stream.reduce() (#6372)
* Initial Commit

* Update StreamReduceUnitTest.java

* Update StreamReduceUnitTest.java

* Update StreamReduceUnitTest.java
2019-02-23 20:20:37 -06:00
cror
f29191df67 BAEL-2548 updated the test with toMap and binary operator (#6303) 2019-02-15 08:12:32 -06:00
Tom Hombergs
923029ca09
Merge pull request #6298 from soufiane-cheouati/master
Custom annotations files
2019-02-14 20:12:37 +01:00
soufiane-cheouati
669dc7804f
Add files via upload 2019-02-12 19:24:18 +00:00
soufiane-cheouati
e1241e741f
Add files via upload 2019-02-12 19:22:40 +00:00
Loredana
c0f72ffa88 update meth ref ex 2019-02-10 19:00:55 +02:00
soufiane-cheouati
0da1ab969a
Add files via upload 2019-02-07 19:53:42 +00:00
soufiane-cheouati
c49eaed0e5
Custom annotation files 2019-02-07 19:51:04 +00:00
cror
2aa4e807c0 toSet, toMap: adding examples with duplicates (#6264)
* BAEL-2548 fix typo

* BAEL-2548 toSet, toMap: added tests with duplicate elements
2019-02-06 18:57:56 -06:00
rodolforfq
f1ea814185 New examples (#6242)
Adding new examples.
Improvement in existing method.
2019-01-30 16:40:24 +01:00
rodolforfq
4bd87241ce BAEL-2524 (#6206)
* BAEL-2524

Uploading article examples.

* Fixing build error

Used List.of, which is not available on java 8 (running java 11 on my PC)
2019-01-27 07:38:38 +01:00
Juan Moreno
469e36f07a BAEL-2444 Extra examples (#6087) 2019-01-12 12:59:25 -06:00
pandachris
f1fa9c8253 BAEL-2565 move code to different project (#6099)
* BAEL-2565

* BAEL-2565
Test code consistency

* BAEL-2565
Move code to different project
2019-01-08 07:18:47 -08:00
kyleandari
2d8ea6d287 Bael 2431 (#6073)
* Adding code to java core and deleting it from java-8

* removing failed unittest

* removing space
2019-01-05 10:25:22 -08:00
pandachris
fe44881bb1 BAEL-2565 (#6077)
* BAEL-2565

* BAEL-2565
Test code consistency
2019-01-05 10:21:28 -08:00
Juan Moreno
9ffbe2bfcb BAEL-2444 Samples (#6002) 2018-12-29 21:38:11 -06:00
amit2103
cf3d7b69e6 [BAEL-10836] - Moved Java8CollectionCleanupUnitTest, AddElementsUnitTest and articles 2018-12-29 20:12:21 +05:30
kyleandari
21bde94745 Java Interfaces Examples (#5992)
* Implementing Hexagonal Architecture in java

* Implementing multi-inheritance and Polymorphism using interfaces

* Removing hexagonal code

* Deleting hexagonal architecture code

* fix for unit test names

* Java Interfaces examples
2018-12-25 11:58:14 -08:00
Loredana Crusoveanu
c042348d93
Merge pull request #5945 from Doha2012/master
predicate chain
2018-12-18 23:39:30 +02:00
DOHA
2f7c16e00d predicate chain 2018-12-17 23:15:06 +02:00
kyleandari
94f4092314 BAEL-2431 Implementing multi-inheritance and Polymorphism using interfaces (#5924)
* Implementing Hexagonal Architecture in java

* Implementing multi-inheritance and Polymorphism using interfaces

* Removing hexagonal code

* Deleting hexagonal architecture code

* fix for unit test names
2018-12-15 14:35:09 -08:00
Eric Martin
91ec114e9a
Merge pull request #5603 from sandy03934/master
BAEL-2303 Added code to demonstrate how to replace multiple if statements in Java
2018-11-07 21:21:06 -06:00
Sandip Singh
3c558d6427 BAEL-2303 Updated the code as per the review comments. 2018-11-06 14:21:19 +05:30
Sandip Singh
e1b47c72a0 BAEL-2303 Added sample code to demo how to replace multiple if statements in java. 2018-11-02 20:41:50 +05:30
Dhawal Kapil
6ef143f570 BAEL-9040 Two quick improvements to the foreach article
-Added Map's forEach BiConsumer example
2018-10-23 22:00:06 +05:30
Dhawal Kapil
b2f3115cfd BAEL-9040 Two quick improvements to the foreach article
-Added more tests for forEach tutorial
2018-10-21 00:26:30 +05:30
eric-martin
51ef1d3ae9 BAEL-2258: Moved to java-dates 2018-10-09 20:34:58 -05:00
Eric Martin
6b0b190abc
Merge pull request #5368 from xamcross/BAEL-2258
BAEL-2258
2018-10-09 20:20:00 -05:00
Dmytro Korniienko
08e902cb26 BAEL-2258 Guide to DateTimeFormatter. parse() method usage tests added 2018-10-04 23:14:59 +03:00
Dmytro Korniienko
7f6df18b64 BAEL-2258 Guide to DateTimeFormatter. Predefined formatters tests added 2018-10-03 23:55:24 +03:00
Loredana Crusoveanu
d7dac62bfb
Merge pull request #5360 from amit2103/BAEL-9460
[BAEL-9460] - Added code examples of Add section in 'Comparison with …
2018-10-02 23:17:35 +03:00
RoscoeLotriet
379eab82d6 Implemented Stream forEach if/else unit test 2018-10-01 14:18:24 +02:00
Dmytro Korniienko
f9065d21b7 BAEL-2258 Guide to DateTimeFormatter. Tests added for various formatting patterns and styles 2018-10-01 10:17:39 +03:00
amit2103
91efa72938 [BAEL-9460] - Added code examples of Add section in 'Comparison with Lambdas' article 2018-09-30 20:58:06 +05:30
RoscoeLotriet
9b6a043cbb Updated if-else logic and added filter method examples 2018-09-28 06:02:34 +02:00
RoscoeLotriet
c1fce0bcd2 Implemented Stream if-else logic class 2018-09-24 10:26:15 +02:00
amit2103
4f18b712f9 [] - Moved artices / codes from from the core-java related modules 2018-09-02 01:37:11 +05:30
Sam Millington
5e3a0c7ad3 BAEL-2033 - Removing duplicates and @Test (#5125)
* removed BenchmarkUnitTest from cove-java-8

* Removed StreamsOrderingUnitTest from core-java-8

* Removed test annotation from the unit test

This test will not need to be run manually.
2018-08-31 18:28:27 -06:00
Eugen Paraschiv
201d616c6b minor cleanup 2018-08-30 20:36:27 +03:00
Kacper
c4cb6eec73 Move optional to java-8-core (#5105) 2018-08-29 06:51:41 -07:00
Sam Millington
1256735a42 BAEL-2033: Added stream-ordering files (#5080)
* Added stream-ordering files

* Removed old files
2018-08-27 17:28:44 -06:00
Andrey Shcherbakov
89e8d66def Java Primitives versus Objects (#4946)
* Add code for the article 'Java Primitives versus Objects'

* Use JMH for benchmarking the primitive and wrapper classes

* Uncomment the benchmarks and remove unused class

* Add Long/long to the benchmark

* Remove assertions from the benchmarks

* Add the java docs
2018-08-26 21:45:37 +03:00
amit2103
c5e1d6f0ef [BAEL-8456] - Moved more articles into 'java-dates' module 2018-08-26 00:49:30 +05:30
amit2103
3bd1ed4ece [BAEL-8456] - Moved Java Date articles into a new module - 'java-dates' 2018-08-25 17:44:06 +05:30
amit2103
bab3a724c6 [BAEL-8434] - Moved java stream articles to java-streams module 2018-08-23 21:00:47 +05:30
amit2103
ab17b8e697 [BAEL-8232] - Moved java string related code and github links into new module java-strings 2018-08-18 23:24:10 +05:30