Commit Graph

1847 Commits

Author SHA1 Message Date
devanshtrivedi5
0463971b51 Grouping by collector java (#11001)
* Initial Commit - Ports and Adapters

* Restructured code to implement input and outbou ports and adapters

* Added tests for groupingBy Collector

* Revert "Initial Commit - Ports and Adapters"

This reverts commit 55152dea

* Added tests for groupingBy Collector

* reverting

* corrected typo

* used BDD naming strategy for tests

* Added a test for groupingByConcurrent

* added new module and package

* added core-java-streams-4 module in main pom.xml

* updated pom.xml and changed artifactId

* removed gitignore and README.md
Converted spaces to tabs and reformatted code

* removed gitignore and README.md

* used baeldung formatter
2021-07-06 22:30:22 -07:00
kwoyke
0ec50bcfca BAEL-5015: Add Java 9 example for readAllBytes (#10999)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-07-06 16:54:57 +02:00
devanshtrivedi5
6caa0cbbb0 Grouping by collector java (#10986)
* Initial Commit - Ports and Adapters

* Restructured code to implement input and outbou ports and adapters

* Added tests for groupingBy Collector

* Revert "Initial Commit - Ports and Adapters"

This reverts commit 55152dea

* Added tests for groupingBy Collector

* reverting

* corrected typo

* used BDD naming strategy for tests

* Added a test for groupingByConcurrent

* added new module and package

* added core-java-streams-4 module in main pom.xml

* updated pom.xml and changed artifactId
2021-07-04 15:51:55 -07:00
Kai Yuan
4f7ada972a 2 threads start at the same time (#10972)
* 2 threads start at the same time

* remove blank leading/trailing lines
2021-07-03 11:51:44 -05:00
ashleyfrieze
0c1b0bf929 BAEL-5025 Example code for camel case to words (#10964) 2021-07-03 11:43:55 -05:00
johnA1331
54e2b69c5c Update README.md 2021-07-02 05:45:00 +08:00
johnA1331
11538605dc Update README.md 2021-07-02 05:40:28 +08:00
johnA1331
a0cbb42e55 Update README.md 2021-07-02 05:39:01 +08:00
johnA1331
6ccb114b02 Update README.md 2021-07-02 05:36:03 +08:00
johnA1331
246f4a9d8d Update README.md 2021-07-02 05:34:38 +08:00
johnA1331
7b426b0ff2 Update README.md 2021-07-02 05:30:22 +08:00
johnA1331
939d884a66 Update README.md 2021-07-02 05:29:15 +08:00
Diego Torres
c9882f2090 [uuid] diegotorres/dtorres.py@gmail.com Improvements for UUIDv5 generation (#10978)
* [uuid] Added method to generate UUID identifiers for version 5

Signed-off-by: Diego Torres <dtorres.py@gmail.com>

* [uuid] Small improvements for UUIDv5 generation

Signed-off-by: Diego Torres <dtorres.py@gmail.com>
2021-06-29 10:46:32 +02:00
Greg
325980e138 Merge pull request #10889 from MajewskiKrzysztof/BAEL-4269
BAEL-4269 3DES in Java
2021-06-27 12:53:51 -04:00
Jonathan Cook
de535414e4 Merge pull request #10944 from thomasduxbury/BAEL-4986
BAEL-4986: Private constructors in Java
2021-06-27 12:59:44 +02:00
mdhtr
7af04a0344 Add examples (#10961) 2021-06-26 18:10:43 -07:00
singhalak11
7d112b4bc6 JAVA-4987: Logical & Bitwise OR operator (singhalak11) (#10823)
* JAVA-4987: Logical & Bitwise OR operator

* JAVA-4987: Logical & Bitwise OR operator

* JAVA-4987 Logical & Bitwise OR operator

* JAVA-4987 Logical & Bitwise OR operator
2021-06-26 13:27:56 +01:00
Jonathan Cook
1562f31617 Merge pull request #10914 from dev-chirag/bael4235
Bael4235 How to find number of threads in a Java process
2021-06-25 17:56:20 +02:00
Diego Torres
daefb08701 [uuid] Added method to generate UUID identifiers for version 5 (#10948)
Signed-off-by: Diego Torres <dtorres.py@gmail.com>
2021-06-24 22:10:31 +02:00
Loredana Crusoveanu
ac45b9fb6c Merge pull request #10955 from johnA1331/master
BAEL-37190 - add links to github-baeldung articles
2021-06-24 09:55:55 +03:00
anmoldeep0123
610174bb31 BAEL-4494 | .toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])? (#10903)
* BAEL-4220 | A Guide to IllegalAccessError and when it happens

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | fix tests

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | fix tests

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | BDD test names

* BAEL-4494 | .toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])?

* BAEL-4494 | .toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])?

Co-authored-by: root <anmoldeep0123@gmail.com>
2021-06-24 06:36:23 +02:00
johnA1331
f17450a780 Update README.md 2021-06-24 04:05:06 +08:00
Thomas Duxbury
9b60d07724 BAEL-4986: Replacing Sys logs with comments 2021-06-21 23:18:47 +01:00
Thomas Duxbury
96a05c1460 –BAEL-4986: Private constructors in Java 2021-06-21 23:18:34 +01:00
Krzysztof Woyke
11396842c5 JAVA-5710: Fix expected Java version 2021-06-21 08:44:17 +02:00
Mainak Majumder
41fb1e4cc7 code for baeldung article (#10875)
* Application source code for the Baeldung article "HTTP PUT vs POST
method in REST API"

* update indention in pom file, update code in Address class

* update indention

* rename application

* update pom

* source code for article "Connection timeout vs read timeout"

* Update TcpServerSocket.java
2021-06-20 21:03:52 -05:00
kwoyke
5cf77f29c3 JAVA-5926: Fix core-java-jpms setup (#10930)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-06-18 19:51:18 +05:30
johnA1331
81f5e99c24 Update README.md 2021-06-17 01:03:50 +08:00
johnA1331
ac24edcaaa Update README.md 2021-06-17 01:01:39 +08:00
johnA1331
5002cf801a Update README.md 2021-06-17 00:54:50 +08:00
johnA1331
00f2f85466 Create README.md 2021-06-17 00:52:51 +08:00
johnA1331
6438af2fed Update README.md 2021-06-17 00:51:09 +08:00
dev-chirag
5b50a93d0b BAEL4235 FindNumberOfThread class 2021-06-15 23:51:57 +05:30
dev-chirag
04ff8e9b9d BAEL4235 FindNumberOfThread class 2021-06-15 23:48:24 +05:30
Greg
8e423961ea Merge pull request #10769 from vikasrajput6035/BAEL-4936
BAEL-4936: Completed article Abstract class vs Interface with default method
2021-06-14 12:02:05 -04:00
Greg
a59030a083 Merge pull request #10797 from KarthickSridhar/article_javadoc_method_reference
[ BAEL-4254 ]  Referencing a method in JavaDoc comment.
2021-06-14 11:52:02 -04:00
freelansam
f365db2a67 BAEL-4983: Update article "Calling SOAP service in Java" (#10898) 2021-06-13 15:04:40 -07:00
Jonathan Cook
b61e9b7fe7 Merge pull request #10810 from Saber-k/master
BAEL-4402 Java: Path vs File
2021-06-13 13:23:30 +02:00
Eric Martin
a8241717ea Merge pull request #10859 from bradhandy/master
Unit tests for non-capturing groups.
2021-06-12 09:52:23 -05:00
kwoyke
35f88cf63a BAEL-5000: Add split String by newlines examples (#10881)
* BAEL-5000: Add split String by newlines examples

* BAEL-5000: Exclude core-java-string-operations-3 from persistence-modules

* BAEL-5000: Update tests

Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-06-12 14:23:37 +02:00
bhandy
27e3adf227 Moving NonCapturingGroupUnitTestjava to new core-java-regex-2 module. 2021-06-12 00:25:19 -04:00
Vikas Ramsingh Rajput
4aa72e6251 BAEL-4936: converted multiline code to one liner, also changed names of unit test methods 2021-06-11 19:55:03 +05:30
Karthick S
7860d84083 BAEL-4254 JavaDoc method reference example classes 2021-06-11 19:33:04 +05:30
LiamGve
3f964961da BAEL-4991 added in code for Java 9 private method introduction (#10884)
* BAEL-4991 added in code for Java 9 private method introduction

* BAEL-4991 added unit tests for java 9 private methods in interface article

Co-authored-by: Liam Garvie <liamgarvie@Liams-MacBook-Pro.local>
2021-06-09 09:31:16 -07:00
johnA1331
75446daee5 Update README.md 2021-06-09 16:57:12 +08:00
majewsk6
47106802bf BAEL-4269 3DES in Java 2021-06-09 09:06:15 +02:00
bhandy
71971f2372 Updated the fluent API calls for the AssertJ assertions. 2021-06-07 22:41:29 -04:00
bfontana
e992e67e34 Merge pull request #10867 from nirm2009/master
BAEL-4881 - Update IgnoringPatternMetacharactersUnitTest.java
2021-06-07 22:18:06 -03:00
bhandy
6b53332462 Updated the formatting. Helps to save the file after formatting it in Eclipse. 2021-06-05 15:02:04 -04:00
Dasun Nirmitha
90413b37a7 Update IgnoringPatternMetacharactersUnitTest.java
Unit test method names simplified according to Editor's suggestion.
2021-06-05 20:52:25 +05:30