Commit Graph

3010 Commits

Author SHA1 Message Date
abdul0214 2743bcc498 BAEL-5928: Adds conversion b/w Epoch & LocalDateTime 2023-08-26 12:44:57 +02:00
collaboratewithakash e325ae6e27 backlink added 2023-08-26 12:51:02 +05:30
Michael Olayemi d7c57a2e2b Modulus of Negative Numbers in Java (#14640) 2023-08-26 08:58:13 +05:30
parthiv39731 a60be2d0b7 Merge remote-tracking branch 'origin/PR-6865' into PR-6865 2023-08-25 10:36:22 -07:00
parthiv39731 5bf002e0fd BAEL-6865, taking care of review comments as part of PR-14653 2023-08-25 10:35:47 -07:00
parthiv39731 63f511b9c6 Update core-java-modules/core-java-streams-5/src/test/java/com/baeldung/aggregateEx/AggregateExceptionHandlerUnitTest.java
removing extra parentheses

Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-08-25 09:50:53 -07:00
Loredana Crusoveanu 89fa14a69b Merge pull request #14651 from edizor/master
Update README
2023-08-25 10:18:29 +03:00
Kai Yuan c37ed2843a [regex-squre-brackets] Extract Text Between Square Brackets (#14635) 2023-08-24 21:38:07 -05:00
parthiv39731 5c67e16385 Merge branch 'eugenp:master' into PR-6865 2023-08-25 00:35:54 +05:30
parthiv39731 9b1d47ff4e BAEL-6865, Aggregate Runtime Exceptions in Java Streams
Changed method names
2023-08-24 12:04:54 -07:00
edizor d5302c21b5 Update README.md
[skip ci]
2023-08-24 21:49:35 +08:00
edizor 7f3b001888 Update README.md
[skip ci]
2023-08-24 21:41:43 +08:00
edizor f9762f26c7 Update README.md
[skip ci]
2023-08-24 21:39:18 +08:00
edizor d5b7790812 Update README.md
[skip ci]
2023-08-24 21:36:47 +08:00
edizor 1dad5a38e4 Update README.md
[skip ci]
2023-08-24 21:33:45 +08:00
Vini a77075cc32 Merge pull request #14555 from rajat-garg/feature/cartesian-product
[BAEL-6708] Add Cartesian Product
2023-08-24 08:57:40 +02:00
rajatgarg 8351c9fca3 [BAEL-6708] Address review comments 2023-08-24 08:58:53 +05:30
Gaetano Piazzolla 1f98b51b8f JAVA-24259 | small refactor for readability (#14602) 2023-08-23 21:07:47 +05:30
timis1 fad32db315 JAVA-24052 Upgrade java-stream-filter-lambda article (#14610) 2023-08-23 15:08:28 +03:00
timis1 65852417da JAVA-24055 Upgrade reading-file-in-java article (#14591) 2023-08-23 15:07:11 +03:00
panos-kakos 116d093db9 [JAVA-23095] (#14613)
* [JAVA-23095] Upgraded guava library to latest version

* [JAVA-23095] Clean up
2023-08-23 15:40:27 +05:30
ACHRAF TAITAI 420305fe3b BAEL-6560: How to solve SocketException Connection reset (#14636) 2023-08-22 10:10:05 +02:00
Bhaskar Ghosh Dastidar de6d040193 [BAEL-6859] inner sub classes (#14631)
* [BAEL-6859] inner and sub classes

* [BAEL-6859] unit test cases added

* [BAEL-6859] usage of inner class in outer class

* [BAEL-6859] usage of inner class in outer class

---------

Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-08-21 17:20:48 +02:00
Kasra Madadipouya 023d73ef61 Merge pull request #14624 from timis1/JAVA-24160
JAVA-24160 Review log statements for projects - Week 33 - 2023
2023-08-20 23:33:04 +02:00
Loredana Crusoveanu 0a10e4d8e0 Merge pull request #14616 from edizor/master
Update README
2023-08-20 20:17:59 +03:00
vunamtien 111379185d BAEL-6839-get-random-from-set (#14606)
* BAEL-6839-get-random-from-set

* edge cases
2023-08-20 08:34:15 +02:00
timis1 814604f2f4 JAVA-24160 Review log statements for projects - Week 33 - 2023 2023-08-20 09:31:39 +03:00
Shahul Basha 94ab13cacc Override Equals method improvement (#14446) 2023-08-20 08:25:42 +02:00
gaepi d5ebd8105d JAVA-23897 | re enabling test 2023-08-19 13:04:17 +02:00
Kai Yuan 98d959f33a Get the first n elements of a List into an Array (#14599)
* Get the first n elements of a List into an Array

* [first-n-to-array] rename N -> n
2023-08-18 20:30:24 -05:00
edizor 05b3ebd54e Update README.md
[skip ci]
2023-08-19 08:54:26 +08:00
edizor cbd608ed1f Update README.md
[skip ci]
2023-08-19 08:48:05 +08:00
edizor 8bd823054e Create README.md
[skip ci]
2023-08-19 08:24:42 +08:00
edizor c674fe4931 Update README.md
[skip ci]
2023-08-19 08:14:31 +08:00
edizor fc9afd1fa0 Update README.md
[skip ci]
2023-08-19 08:07:12 +08:00
edizor abfef847bd Update README.md
[skip ci]
2023-08-19 07:56:21 +08:00
edizor f8b5cccb6c Update README.md
[skip ci]
2023-08-19 07:43:12 +08:00
edizor 415eb1fae3 Update README.md
[skip ci]
2023-08-19 07:32:45 +08:00
Kai Yuan 16080930fa [map-KV-to-list] Get Values and Keys as ArralyLists From a HashMap (#14615) 2023-08-18 21:48:48 +02:00
Rufina Uche 8502670140 Calculating the Sum of Two Arrays Element by Element in Java (#14579)
* Create SumArraysUsingForLoop.java

* Update SumArraysUsingForLoop.java

* add sum arrays using for each loop and streams

* Create SumArraysUsingForLoopTest.java

* Add files via upload

* Update SumArraysUsingStreams.java

* Update and rename SumArraysUsingForEachTest.java to SumArraysUsingForEachUnitTest.java

* Rename SumArraysUsingForLoopTest.java to SumArraysUsingForLoopUnitTest.java

* Update and rename SumArraysUsingStreamsTest.java to SumArraysUsingStreamsUnitTest.java

* Update SumArraysUsingForEachUnitTest.java

* Update SumArraysUsingForLoopUnitTest.java

* Update SumArraysUsingForEachUnitTest.java

* Update SumArraysUsingStreamsUnitTest.java
2023-08-18 21:43:41 +02:00
Bhaskar Ghosh Dastidar b25e324790 [BAEL-6859] Inner Classes vs. Subclasses in Java (#14608)
* [BAEL-6859] inner and sub classes

* [BAEL-6859] unit test cases added

---------

Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-08-18 21:36:51 +02:00
timis1 04caad5f80 JAVA-24057 Upgrade java-aes-encryption-decription article (#14593) 2023-08-18 12:14:17 +03:00
Kai Yuan 1d0afe4f07 Convert an ArrayList of String to a String Array in Java (#14583)
* Convert an ArrayList of String to a String Array in Java

* fixing typo

* module moving
2023-08-15 19:40:47 -05:00
Graham Cox 379992c84e BAEL-6813: Moved Magic Square code to core-java-lang-math-3 (#14587)
* BAEL-6813: Moved Magic Square code to core-java-lang-math-3

* Fix code to work below Java 11

* Fix unrelated broken test
2023-08-15 12:56:05 +02:00
Loredana Crusoveanu 4a11a82b66 Merge pull request #14596 from eugenp/upgrade-module
upgrade core-java-collections-conversions-2 module to jdk 11
2023-08-15 13:19:37 +03:00
timis1 1f5590b7b5 JAVA-24054 Upgrade java-enum-values article (#14590) 2023-08-15 11:40:13 +03:00
Loredana Crusoveanu ef865442ea upgrade core-java-collections-conversions-2 module to jdk 11 2023-08-15 10:40:32 +03:00
Michael Olayemi cb111b0d8b Conversion From 12 Hours Time to 24 Hours Time in Java (#14580) 2023-08-14 22:33:59 +05:30
MohamedHelmyKassab 5874d1fd15 This PR is for BAEL-6788 (#14563)
This PR aims to add java classes for the HashMap multi values operations with same key
2023-08-12 09:00:00 +02:00
Kasra Madadipouya bb8bb76538 Merge pull request #14571 from GaetanoPiazzolla/JAVA-24048-fix-test
JAVA-24048 | Changed to Manual test
2023-08-11 15:35:08 +02:00
Loredana Crusoveanu c274c658ad Merge pull request #14573 from collaboratewithakash/master
backlink updated
2023-08-11 15:27:55 +03:00
Graham Cox 005d84d780 BAEL-6813: Creating a Magic Square in Java (#14572) 2023-08-11 12:57:48 +02:00
GaetanoPiazzolla 8e1bd93d12 JAVA-24048 | Changed to Manual test 2023-08-11 10:41:51 +02:00
collaboratewithakash 2bfc8a9a1e backlink updated 2023-08-11 12:38:40 +05:30
collaboratewithakash 75beecef09 backlink updated 2023-08-11 12:36:43 +05:30
Robaed b04d773ef2 [BAEL-6593] - Initial push after adding epoch time to localdate and localdatetime conversions (#14556)
Co-authored-by: bobby00 <edwarobert6@gmail.com>
2023-08-10 09:05:12 +02:00
Kasra Madadipouya aa2686bc4a Merge pull request #14550 from ehsansasanian/java-20349-move-pre-jpms-module
java-20349: move pre-jpms module to core-java-9 module
2023-08-09 23:59:51 +02:00
rajatgarg de16d8c39c [BAEL-6708] Address review comments 2023-08-09 22:44:14 +05:30
Loredana Crusoveanu f439ab873d Merge pull request #14558 from edizor/master
Update README
2023-08-09 18:07:13 +03:00
Vladyslav Chernov 7ab8374bd9 BAEL-5852: What does the Holder<T> do in Java? (#14477)
Co-authored-by: Vladyslav Chernov <vlad.chrv@gmail.com>
2023-08-09 20:12:00 +05:30
edizor f68319aef0 Update README.md
[skip ci]
2023-08-09 20:50:47 +08:00
edizor 0276583d48 Update README.md
[skip ci]
2023-08-09 20:45:45 +08:00
edizor e0a5015914 Update README.md
[skip ci]
2023-08-09 20:25:58 +08:00
edizor db956411f3 Update README.md
[skip ci]
2023-08-09 20:22:23 +08:00
edizor 97416e6ea8 Update README.md
[skip ci]
2023-08-09 20:17:48 +08:00
edizor 03c206ac2d Update README.md
[skip ci]
2023-08-09 20:14:42 +08:00
Kai Yuan 4945be2fd6 What's the Difference Between Iterator and Listiterator? (#14547) 2023-08-08 19:05:39 -05:00
rajatgarg 2337e29d0b [BAEL-6708] Add Cartesian Product 2023-08-08 20:07:33 +05:30
davidmartinezbarua 2e44c635e9 Merge pull request #14520 from sam-gardner/BAEL-6837-get-first-item-from-set
BAEL-6837 Add example code for getting the first item from a Set
2023-08-08 10:58:59 -03:00
Ehsan Sasanianno 743d8e8ad4 java-20349: move pre-jpms module to core-java-9 module 2023-08-07 22:50:40 +02:00
Kasra Madadipouya 0061f631a8 Merge pull request #14534 from Bipinkumar27/JAVA-22625
JAVA-22625:Changes made for testing the failing module
2023-08-07 20:04:03 +02:00
Alex Tighe 6a6ac00db2 BAEL-6458: Guide to the yield Keyword in Java (#14440)
* BAEL-6229: committing new example for loading multiple yaml configuration files

* BAEL-6229: updating README.md

* BAEL-6229: adding example one code, commented out

* Revert "BAEL-6229: updating README.md"

This reverts commit 51cd2dcf97f797aa6a723888fd246ef0142242a3.

* BAEL-6229: adding comments around commented out code for first example.

* BAEL-6458: creating new module for conditionals and adding examples for yield

* BAEL-6458: creating new module for conditionals and adding examples for yield

* BAEL-6458: rename methods

* BAEL-6458: clean up pom

* BAEL-6458: convert checks to tests

* BAEL-6458: convert checks to tests

* BAEL-6458: convert checks to tests

* BAEL-6458: move examples to just YieldTest and removed YieldExamples class. Also added assigning the value of the switch expression to a variable instead of returning from method. Also added a non-default exhaustive test.

* BAEL-6458: Test clean up based on initial PR feedback.
2023-08-07 18:38:05 +01:00
Kai Yuan 966d488013 Remove Duplicate Values From HashMap in Java (#14519)
* Remove Duplicate Values From HashMap in Java

* fix the typo in the package name
2023-08-06 12:49:57 -05:00
Gaetano Piazzolla f90e26db1f JAVA-23319 | Moving DualPrintStream (#14524)
* JAVA-23319 | moving DualPrintStream

* JAVA-23319 | adding checkerror
2023-08-06 10:40:03 +05:30
Tapan Avasthi 8aecf2fd3f BAEL-6831: Convert an int[] Array to HashSet in Java (#14525)
Co-authored-by: Tapan Avasthi <tavasthi@Tapans-MacBook-Air.local>
2023-08-05 08:44:19 -05:00
Eugene Kovko 760825405a BAEL-6651: Embeddable Records in Hibernate 6 (#14516)
* BAEL-6651: Bumped Spring Boot version

* BAEL-6651: Replaced flaky test

* BAEL-6651: Embeddable example with tests
2023-08-04 19:39:09 +02:00
Bipinkumar27 2ed0b60446 JAVA-22625:Changes made for testing the failing module 2023-08-04 20:06:01 +05:30
Vini 2879e21aeb Merge pull request #14526 from vunamtien/BAEL-6541-convert-relative-path-2
BAEL-6541-convert-relative-path-2
2023-08-04 10:53:52 +02:00
Loredana Crusoveanu 41d11e7d46 Update CertificatesUnitTest.java 2023-08-04 10:42:58 +03:00
tienvn 1e05bb6e98 BAEL-6541-convert-relative-path 2023-08-03 17:59:49 +07:00
Loredana Crusoveanu 7091862cb2 Merge pull request #14522 from edizor/master
Update README
2023-08-02 21:23:01 +03:00
MohamedHelmyKassab 43c4176e9c This commit is for the article BAEL-6788 (#14513)
This commit aims to add a test class (MultiValueHashMapTest) to test the HashMap that allows multiple values to be associated with the same key
2023-08-02 19:47:45 +02:00
Mo Helmy f7998fa4fa This commit is for the article BAEL-6792 (#14512)
This commit aims to add a test class namely (StringToMapUnitTest) that tests the conversion of string and string array into map.
2023-08-02 19:42:36 +02:00
edizor b2ad1cb23e Update README.md
[skip ci]
2023-08-02 21:51:38 +08:00
edizor eb1b06160f Update README.md
[skip ci]
2023-08-02 21:30:25 +08:00
edizor 8004cac172 Update README.md
[skip ci]
2023-08-02 21:13:10 +08:00
edizor fa7766b053 Update README.md
[skip ci]
2023-08-02 20:51:10 +08:00
edizor af7755a76e Update README.md
[skip ci]
2023-08-02 20:47:25 +08:00
edizor 96cd5a6ce1 Update README.md
[skip ci]
2023-08-02 20:41:09 +08:00
Sam Gardner b5fef8d2b5 BAEL-6837 Add example code for getting the first item from a Set 2023-08-02 12:05:17 +01:00
timis1 50147f3c8e JAVA-23392 Adding some more example for differences between Scanner n… (#14491)
* JAVA-23392 Adding some more example for differences between Scanner next() vs nextLine()

* Update NextVsNextLineUnitTest.java

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
Co-authored-by: Dhawal Kapil <dhawalkapil@gmail.com>
2023-08-01 20:44:56 +05:30
parthiv39731 8f344ca0f7 BAEL-6841 (#14502)
Improvement article - "Check if a String Has All Unique Characters in Java"
2023-08-01 11:52:01 +02:00
sachin bb967e0836 BAEL-4895 brokenpipe error (#14346)
Co-authored-by: Sachin kumar <sachin.n.kumar@oracle.com>
2023-07-31 12:15:49 -05:00
davidmartinezbarua b9180b0eb7 Merge pull request #14481 from sam-gardner/BAEL-6611-completablefuturevsfuturevsrxjava
BAEL-6611 add example code for completablefuture vs future vs rxjava …
2023-07-31 12:48:33 -03:00
Kai Yuan eb5e9fe2b5 How to Modify a Key in a HashMap? (#14496) 2023-07-30 23:02:18 -05:00
Michael Olayemi 933571b813 Splitting a string into two halfs (#14500) 2023-07-31 07:01:30 +05:30
Michael Olayemi 92b922b6c1 How to Get the Start and the End Date of a Year using Java (#14493)
* How to Get the Start and the End Date of a Year using Java

* How to Get the Start and the End Date of a Year using Java

* How to Get the Start and the End Date of a Year using Java
2023-07-30 10:12:23 +05:30
Vini 4b08a40eae Merge pull request #14232 from vunamtien/BAEL-6541-convert-relative-path
BAEL-6541-convert-relative-path
2023-07-27 09:29:08 +02:00
Loredana Crusoveanu 33a6f4610b Merge pull request #14485 from edizor/master
Update README
2023-07-26 12:59:40 +03:00
ACHRAF TAITAI 3d76035de8 BAEL-6713: Convert List<Long> Object to long[] Array in Java (#14479) 2023-07-26 11:17:26 +02:00