Commit Graph

3162 Commits

Author SHA1 Message Date
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
edizor fca0f32ab7 Update README.md
[skip ci]
2023-07-26 16:14:40 +08:00
edizor 812d7fab52 Update README.md
[skip ci]
2023-07-26 16:07:48 +08:00
edizor 891e76f630 Update README.md
[skip ci]
2023-07-26 16:00:14 +08:00
edizor 51982ca793 Update README.md
[skip ci]
2023-07-26 15:49:02 +08:00
edizor 278af26fdc Update README.md
[skip ci]
2023-07-26 15:45:36 +08:00
edizor d87ee38baa Update README.md
[skip ci]
2023-07-26 15:40:25 +08:00
Michael Olayemi ddce1d63db Law of Demeter in Java (#14465)
* Law of Demeter in Java

* Law of Demeter in Java

* Law of Demeter in Java
2023-07-26 10:55:09 +05:30
Sam Gardner 686f39fc38 BAEL-6611 add example code for completablefuture vs future vs rxjava comparison 2023-07-25 14:05:05 +01:00
panos-kakos 0a3998e407 [JAVA-23091] Upgraded esapi version and removed it form main pom.xml (#14384)
Co-authored-by: Dhawal Kapil <dhawalkapil@gmail.com>
2023-07-25 12:59:21 +05:30
Bipin kumar 2229e249a5 JAVA-22625: Changes made for formatting the pom.xml (#14327)
* JAVA-22625: Changes made for formatting the pom.xml

* JAVA-22625: Changes made for formatting the pom.xml

* JAVA-22625: commenting module

* JAVA-22625: commenting module
2023-07-25 12:04:39 +05:30
Vali Tuguran 526e9845a8 BAEL-6225 Refactor code and move package. (#14132)
* BAEL-6225 Refactor code and move package.

* BAEL-6225 Move code to core-java-lang-oop-patterns.

* BAEL-6225 Refactor test name.

* BAEL-6225 Refactor test name.

* BAEL-6225 Update with singleton instances.
2023-07-24 08:47:07 +01:00
parthiv39731 4f24eb635e BAEL-6710 (#14454)
Changed method names
2023-07-23 19:50:50 +02:00
Manfred a1baca99fb BAEL-6725 - Performance Comparison Between Different Java String Concatenation Methods (#14458) 2023-07-23 10:04:32 +02:00
davidmartinezbarua 8db7da5c11 Merge pull request #14404 from sam-gardner/BAEL-6721-example-code-for-notification-of-a-complete-task
BAEL-6721 Add example code for notification of a complete task
2023-07-22 10:26:28 -03:00
davidmartinezbarua 9b90e43d85 Merge pull request #14415 from etrandafir93/features/BAEL-6578-CompletableFuture_allOf_vs_join
BAEL-6578: CompletableFuture allOf.join() vs join()
2023-07-22 10:19:55 -03:00
Gaetano Piazzolla f2d8753391 JAVA-23317 | Added dummy TrustManager (#14444)
* JAVA-23317 | Added dummy TrustManager

* JAVA-23317 | Added comment

* JAVA-23317 | renamed dummy to mock

* JAVA-23317 | renamed unit test
2023-07-22 18:49:21 +05:30
Michael Olayemi 10613742da What is the maximum depth of the java call stack? (#14428)
* What is the maximum depth of the java call stack?

* What is the maximum depth of the java call stack?
2023-07-21 07:12:48 +05:30
Loredana Crusoveanu c55d386498 Merge branch 'master' into master 2023-07-20 16:30:42 +03:00
collaboratewithakash 7dd971d743 backlink removed 2023-07-20 16:42:50 +05:30
edizor ec844f474d Update README.md
[skip ci]
2023-07-19 19:36:16 +08:00
edizor d097805ea3 Update README.md
[skip ci]
2023-07-19 19:35:36 +08:00
edizor 2188703fac Update README.md
[skip ci]
2023-07-19 19:11:45 +08:00
edizor 6fa2244acb Update README.md
[skip ci]
2023-07-19 16:22:36 +08:00
edizor e04ef61899 Update README.md
[skip ci]
2023-07-19 16:17:52 +08:00
Loredana Crusoveanu 0c9a09d705 Merge pull request #14383 from timis1/JAVA-23082
JAVA-23082 Review log statements for projects - Week 16 - 2023 (moved…
2023-07-18 19:25:35 +03:00
emanueltrandafir1993 aa424d05cb BAEL-6578: removed comments 2023-07-17 19:39:13 +02:00
Sam Gardner 0a8d642f0d BAEL-6721 move code to concurrency basic folder 2023-07-17 15:57:24 +01:00
emanuel.trandafir 6fbb898059 BAEL-6578: CompletableFuture allOf.join() vs join() 2023-07-15 19:53:51 +02:00
Bipin kumar ea5c9114fa JAVA-23053: Changes made for correcting the article tagging with right module (#14411) 2023-07-15 17:28:33 +05:30
Dhawal Kapil 2eb978e01b Delete core-java-modules/core-java-io-apis-3 directory (#14408) 2023-07-14 23:31:14 +05:30
Dhawal Kapil 776ae7b875 Update README.md (#14409) 2023-07-14 23:25:39 +05:30
timis1 f2ab4c2aa8 JAVA-22516 Split or move core-java-io-apis-2 module (moved-1) (#14361)
* JAVA-22516 Split or move core-java-io-apis-2 module (moved-1)

* JAVA-22516 Adding back the file after fixing the conflicts

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
2023-07-14 23:00:39 +05:30
Loredana Crusoveanu 346418a266 Merge pull request #14401 from edizor/master
Update README
2023-07-14 17:24:32 +03:00
parthiv39731 c93173406e BAEL-6710 (#14403)
Check If a String Has All Unique Characters in Java
2023-07-13 21:49:18 +02:00
Tetiana 8be07c6b36 BAEL-6717 Convert One Enum to Another Enum in Java (#14400)
- added new module core-java-lang-6
- added data model and test for enums
2023-07-13 21:29:37 +02:00
Sam Gardner 712e8b89e2 BAEL-6721 Add example code for notification of a complete task 2023-07-13 19:07:35 +01:00
edizor bcef2f9001 Update README.md
[skip ci]
2023-07-13 21:46:09 +08:00
edizor cd909bf69b Update README.md
[skip ci]
2023-07-13 21:44:30 +08:00
edizor dc2912fe4c Update README.md
[skip ci]
2023-07-13 21:27:25 +08:00
edizor e668c85464 Update README.md
[skip ci]
2023-07-13 14:25:31 +08:00
edizor 5b1bf5fb47 Update README.md
[skip ci]
2023-07-13 14:14:56 +08:00
edizor 0f3acf5ba0 Update README.md
[skip ci]
2023-07-13 14:06:49 +08:00
edizor 6ebf4aee2a Update README.md
[skip ci]
2023-07-13 14:01:58 +08:00
Michael Olayemi 8333346c43 Does Java read integers in little endian or big endian? (#14381)
* Does Java read integers in little endian or big endian?

* Does Java read integers in little endian or big endian?
2023-07-13 06:35:34 +05:30
MohamedHelmyKassab ded6e1acca BAEL-6418 (#14311)
* BAEL-6418

This commit aims to add a test class for the article BAEL-6418

* Update IntegerClassIntegerTYPEIntClassUnitTest.java

* Update IntegerClassIntegerTYPEIntClassUnitTest.java

* Update IntegerClassIntegerTYPEIntClassUnitTest.java

* Update IntegerClassIntegerTYPEIntClassUnitTest.java
2023-07-11 07:52:58 +05:30
Loredana Crusoveanu ca6b549835 Merge pull request #14376 from edizor/master
Update README.md
2023-07-10 20:14:42 +03:00
tienvn 5f24d80f3d edit unit test 2023-07-10 22:42:12 +07:00
collaboratewithakash 0baeb9312c updated backlink 2023-07-10 16:47:21 +05:30
collaboratewithakash 4cef94bb76 backlink updated 2023-07-10 16:13:02 +05:30
timis1 14e5ed0897 JAVA-23082 Review log statements for projects - Week 16 - 2023 (moved-13) (conti-1) 2023-07-10 11:23:04 +03:00
Vini 0ff24b8a56 Merge pull request #14342 from azhwani/BAEL-6399
BAEL-6399: Getting Yesterday's Date in Java
2023-07-10 10:21:56 +02:00
Ulisses Lima b21100a01e Update StringFilenameValidationUtils.java
Based on email feedback. Changing regex from "A-z" to "A-Z".
2023-07-10 00:00:07 -03:00
Kai Yuan 92c575498c [long-to-bigdecimal] Convert Long to BigDecimal in Java (#14372)
* [long-to-bigdecimal] Convert Long to BigDecimal in Java

* [long-to-bigdecimal] renaming var
2023-07-08 22:30:44 -05:00
Michael Olayemi 6fa3c122e3 Generating Random Numbers in a Range with Some Exclusions in Java (#14357) 2023-07-09 08:37:06 +05:30
edizor e29cb85200 Update README.md
[skip ci]
2023-07-08 08:31:12 +08:00
Azhwani 3277c75dd4 BAEL-6399: Getting Yesterday's Date in Java 2023-07-07 22:17:50 +02:00
tienvn cd4167c462 add unit test 2023-07-08 00:39:27 +07:00
tienvn b693287519 Merge branch 'master' into BAEL-6541-convert-relative-path 2023-07-08 00:12:28 +07:00
Dhawal Kapil 6f905048c4 JAVA-22625 Removed junit4 engine (#14368) 2023-07-06 13:02:53 +05:30
Kai Yuan b64958a6bf [split-digits] Split a String Into Digits- and Non-Digits-Elements (#14349)
* [split-digits] Split a String Into Digits- and Non-Digits-Elements

* [split-digits] JMH benchmark

* [split-digits] using enum
2023-07-05 18:20:28 -05:00
davidmartinezbarua 37add6dc4d Merge pull request #14340 from etrandafir93/features/BAEL-6579-completable_future_thread_pool
BAEL-6579: completable future's thread pool
2023-07-05 14:41:11 -03:00
Shahul Basha 1556a3c384 BAEL-6633 (#14356)
* Deep copy of Arraylist

* Deep copy of Arraylist

* Deep copy of Arraylist updated as per review

* Deep copy of Arraylist updated as per review

* Deep copy of Arraylist updated as per review
2023-07-05 14:24:57 +02:00
vunamtien e3f36b304f rename file (#14365) 2023-07-05 13:23:40 +02:00
Abhinav Pandey 0b193f4544 Bael 6577 (#14260)
* BAEL-6577 - Paralellize for loops in Java

* BAEL-6577 - Paralellize for loops in Java

* BAEL-6577 - Paralellize for loops in Java - adding JMH

* BAEL-6577 - Paralellize for loops in Java - using CompletableFuture
2023-07-04 20:07:40 +05:30
Shahul Basha 1c12d45700 BAEL-6633 (#14308)
* Deep copy of Arraylist

* Deep copy of Arraylist

* Deep copy of Arraylist updated as per review
2023-07-04 14:35:53 +02:00
parthiv39731 de3fc4f21a BAEL-6626 (#14345)
* BALE-6626
Check If a String Contains Non-Alphanumeric Characters in Java

* Move patterns to class level.

---------

Co-authored-by: parthiv39731 <parthiv39731@gmail.com>
2023-07-04 14:17:45 +02:00
Loredana Crusoveanu 03385bed6a Merge pull request #14339 from edizor/master
Update README
2023-07-03 13:07:16 +03:00
vunamtien 8e336ba020 BAEL-6644-read-zip-entries (#14321)
* read zip file entries

* add unit test

* update test code
2023-07-03 12:04:44 +02:00
Kasra Madadipouya ec8f9b4006 Merge pull request #14331 from timis1/JAVA-22498
JAVA-22498 Potential issue in "Difference Between FileReader and Buff…
2023-07-02 15:20:19 +02:00
Kai Yuan dbaba09fb9 [file-is-empty] Check If a File is Empty in Java (#14319)
* [file-is-empty] Check If a File is Empty in Java

* [file-is-empty] adjust code format

* [file-is-empty] rename test methods

* [file-is-empty] Then->then in method names
2023-07-01 21:39:05 -05:00
emanueltrandafir1993 09c62a2d70 BAEL-6579: fixing tests 2023-07-01 13:33:40 +02:00
emanueltrandafir1993 dbbd2a0a12 BAEL-6579: completable future's thread pool 2023-07-01 13:24:01 +02:00
edizor 8deff81ef9 Update README.md
[skip ci]
2023-07-01 17:54:36 +08:00
edizor 004089182c Update README.md
[skip ci]
2023-07-01 17:39:19 +08:00
edizor a24bbc6187 Update README.md
[skip ci]
2023-07-01 17:31:59 +08:00
edizor 9ec60c6e80 Update README.md
[skip ci]
2023-07-01 17:20:41 +08:00
edizor f9eec5f598 Update README.md
[skip ci]
2023-07-01 17:18:27 +08:00
edizor a328fcec3b Update README.md
[skip ci]
2023-07-01 16:59:56 +08:00
edizor 3f9cfa9beb Update README.md
[skip ci]
2023-07-01 16:50:32 +08:00
Dhawal Kapil f4d0dfcbbe JAVA-22625 Replaced Junit4 package with Junit5 (#14334) 2023-06-30 17:03:46 +05:30
timis1 8e800d1a2d JAVA-21187 Cleanup un-committed or un-ignored artifacts - Week 21 - 2023 (moved-5) (#14312)
Co-authored-by: timis1 <noreplay@yahoo.com>
2023-06-30 09:33:31 +05:30
Tapan Avasthi f9ac0f459e BAEL-6627: How to start a thread using an anonymous class (#14314)
Co-authored-by: Tapan Avasthi <tavasthi@Tapans-MacBook-Air.local>
2023-06-29 20:59:37 -05:00
timis1 615bd5c714 JAVA-22498 Potential issue in "Difference Between FileReader and BufferedReader in Java" 2023-06-29 22:35:10 +03:00
Gaetano Piazzolla f372563ca2 JAVA-21602 | fixing sync code block (#14318) 2023-06-28 20:18:08 +05:30
Azhwani 8e6bdc0205 BAEL-6597: How to get the last Day of the Month in Java (#14191) 2023-06-26 14:05:24 +02:00
Michael Pratt 5abc2c6d2c Add unit tests (#14306) 2023-06-25 20:42:54 -05:00
Loredana Crusoveanu 15dc4eb1d0 Merge pull request #14299 from collaboratewithakash/master
updated backlink
2023-06-25 18:50:11 +03:00
Bipin kumar dad0e8cf5e Java-20326: Changes made for replacing strSubstitutor with stringSubstitutor (#14301) 2023-06-25 18:19:11 +05:30
Gaetano Piazzolla e30ae6e6e0 JAVA-22238 | moved articles into correct locations. (#14297) 2023-06-24 23:41:14 +05:30
Azhwani faf6b79e86 BAEL-6397: Adding One Month to Current Date in Java (#14261) 2023-06-24 10:38:42 +02:00
collaboratewithakash d071df91a8 updated backlink 2023-06-24 13:29:37 +05:30
timis1 b39cee5e7a Java 20405 Align module names, folder names and artifact id - Week 18 - 2023 (moved-7) (#14290)
* JAVA-20405 Align name for spring-boot-aws

* JAVA-20405 Align module name for spring-boot-3-url-matching

* JAVA-20405 Align module name for core-java-streams-collect

* JAVA-20405 Align module name for dummy-surefire-junit47

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
2023-06-23 13:15:40 +05:30
Loredana Crusoveanu 84f60d9c86 Merge pull request #14276 from edizor/master
Update README
2023-06-22 11:42:46 +03:00
Bhaskar Ghosh Dastidar 6844a63c64 [BAEL-6090] vector api examples (#14274)
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-06-21 13:50:45 -07:00
edizor 279ae5d2a4 Update README.md
[skip ci]
2023-06-21 20:22:12 +08:00
edizor e296c2fc7c Update README.md
[skip ci]
2023-06-21 18:26:24 +08:00
edizor f2b2b8546d Update README.md
[skip ci]
2023-06-21 17:36:02 +08:00
Dmytro Budym 6311a27f8c Add code examples for "Convert Java Array to Iterable" (#14144)
* Add code examples for "Convert Java Array to Iterable"

* fix formatting
2023-06-20 21:23:47 +05:30
Michael Olayemi c4334bf328 Hex Representation of a SHA-1 Digest of a String in Java (#14239)
* Hex Representation of a SHA-1 Digest of a String in Java

* Hex Representation of a SHA-1 Digest of a String in Java

* Hex Representation of a SHA-1 Digest of a String in Java
2023-06-20 21:17:00 +05:30
davidmartinezbarua 33b4f08269 Merge pull request #14243 from thibaultfaure/article/BAEL-5600
BAEL-5600 Code for the Read Date in Java using Scanner article
2023-06-19 13:07:37 -03:00
Kai Yuan b58d374862 [list<str>-to-list<int>] Convert a List of Strings to a List of Integers (#14244) 2023-06-18 10:53:42 -05:00
Bahaa El-Din Helmy e3afaf7996 Difference Between Boolean.TRUE and true in Java (#14253)
This commit is related to the article "Difference Between Boolean.TRUE and true in Java"
2023-06-16 14:34:34 -07:00
thibault.faure a88028874b BAEL-5600 Code for the Read Date in Java using Scanner article 2023-06-16 10:52:58 +02:00
edizor feb26e3bb0 Update README.md
[skip ci]
2023-06-15 22:59:15 +08:00
edizor cf0b7af0c1 Update README.md
[skip ci]
2023-06-15 22:32:42 +08:00
edizor c75bfdaf29 Update README.md
[skip ci]
2023-06-15 22:09:26 +08:00
edizor 0e52c2fbff Update README.md
[skip ci]
2023-06-15 21:57:03 +08:00
Kai Yuan 880803be21 [str-all-upper] Check if a String is All Uppercase or Lowercase in Java (#14227) 2023-06-13 22:40:37 -05:00
tienvn4 b13c7c6ec5 BAEL-6541-convert-relative-path 2023-06-13 17:02:25 +07:00
Mo Helmy e91d7301bd Convert List to JSON (#14226)
Hello there, 
The code provides a test class for a Java list to JSON conversion.
Regards,
Mohamed.
2023-06-12 13:10:24 -07:00
Michael Olayemi 680ddfef9c Performance and Memory Allocation Comparison Between List and Set (#14124)
* Performance and Memory Allocation Comparison Between List and Set in Java

* Performance and Memory Allocation Comparison Between List and Set in Java

* Performance and Memory Allocation Comparison Between List and Set in Java

* Performance and Memory Allocation Comparison Between List and Set in Java
2023-06-12 08:26:58 +05:30
Loredana Crusoveanu 5b65c7e54a Merge pull request #14216 from collaboratewithakash/master
backlink updated
2023-06-11 15:33:45 +03:00
Dhawal Kapil b3a5af07c0 JAVA-8924 Cleanup for spliterator article (#14221) 2023-06-11 13:09:16 +05:30
Bipin kumar ab884e145f JAVA-8924: changes made for adding example of trySplit() with spiterator (#14218) 2023-06-11 12:46:11 +05:30
Dhawal Kapil fec7001cbd JAVA-8924 Fixed spliterator packages and formatting (#14211) 2023-06-10 12:42:38 +05:30
Bipin kumar ecce4a4121 JAVA-8924: changes made for adding example of tryAdvance with spiterator (#14208)
* JAVA-8924: changes made for adding example of tryAdvance with spiterator

* JAVA-8924: changes made for adding example of tryAdvance with spiterator
2023-06-10 12:02:46 +05:30
Kai Yuan b4b271c0e4 [sort-dt-str] Sort Date Strings in Java (#14188) 2023-06-09 23:00:04 -05:00
davidmartinezbarua 0ba8d92f4c Merge pull request #14170 from thibaultfaure/article/BAEL-6595
BAEL-6595 code for the How Many Days Are There in a Particular Month …
2023-06-09 13:39:42 -03:00
Loredana Crusoveanu 14e0051237 Merge pull request #14206 from edizor/master
Update README.md
2023-06-09 17:29:41 +03:00
Loredana Crusoveanu 866e3e013a Merge pull request #14199 from eugenp/remove-module
remove duplicate code
2023-06-09 17:24:48 +03:00
edizor 5a3209051a Update README.md
[skip ci]
2023-06-09 22:09:21 +08:00
davidmartinezbarua 988a96ca97 Merge pull request #14055 from thibaultfaure/feature/BAEL-6438-move-article-to-new-submodule
Create new module core-java-string-operations-6
2023-06-09 09:57:25 -03:00
collaboratewithakash 77a5f9d17b backlinks removed 2023-06-09 14:58:22 +05:30
collaboratewithakash 48b212f7be backlinks removed 2023-06-09 14:49:18 +05:30
collaboratewithakash 044783e348 backlink updated 2023-06-09 14:39:30 +05:30
collaboratewithakash 17a459a2a3 backlink updated 2023-06-09 14:34:21 +05:30
thibault.faure 12de8904ab BAEL-6595 code for the How Many Days Are There in a Particular Month of a Given Year article 2023-06-09 01:03:58 +02:00
Azhwani 5bfb63b2a1 BAEL-6545: Update article https://www.baeldung.com/java-read-lines-large-file (#14168) 2023-06-08 21:43:31 +02:00
sdhiray7 9918d614e6 BAEL-5621 Combining two byte arrays (#14129)
* Initial commit for Object copy in Java

* review comments commit for Object copy in Java

* Initial commit for parseInt vs valueOf java

* Review comments commit for parseInt vs valueOf java

* Modify readme

* review comments

* build failure

* build failure retry

* build failure retry remove parseInt(java.lang.String,int,int,int)

* build failure add comment

* change examples

* review comments

* review comments 2

* review comments 3

* Initial commit for get current stacktrace

* Remove old files

* Name updates

* Jenkins error

* changes to file name

* Review comments

* Create unit test file

* Remove unnecessary files

* Update package name

* BAEL-5321 Initial commit

* BAEL-5321 Initial commit 2

* [BAEL-5321] review comments

* [BAEL-5321] constructor

* [BAEL-5321] inline

* BAEL-6396 Initial commit

* BAEL-6396 Files reorg
2023-06-08 22:55:28 +05:30
Loredana Crusoveanu 36f28871ce Merge pull request #14198 from edizor/master
Update README
2023-06-08 19:33:07 +03:00
Loredana Crusoveanu e881e00b16 remove duplicate code 2023-06-08 19:32:16 +03:00
edizor 8becf2883d Update README.md
[skip ci]
2023-06-08 23:30:21 +08:00
edizor 029216e65b Update README.md
[skip ci]
2023-06-08 23:12:41 +08:00
edizor 33ed21921a Update README.md
[skip ci]
2023-06-08 23:09:26 +08:00
edizor a428334e81 Update README.md
[skip ci]
2023-06-08 23:03:13 +08:00
Ulisses Lima 80e0f8b2e6 check instanceof Movie 2023-06-07 12:20:25 -03:00
Kai Yuan f0124dcca0 [unique-elements-list] Get Unique Values From an ArrayList In Java (#14152) 2023-06-05 21:02:36 -05:00
lucaCambi77 f265b51841 [BAEL-6486] - Returning a Value After Finishing Thread's Job in Java (#14101)
* feat: threads with return value

* pmd violation
2023-06-05 20:52:46 -05:00
Kai Yuan 9ff3b1dd9b [map-str-obj-to-str-str] converting a Map<String, Object> to a Map<String, String>. (#14175) 2023-06-05 20:43:28 -05:00
Loredana Crusoveanu 17fc896c98 Update README.md 2023-06-02 17:47:05 +03:00
Loredana Crusoveanu 2c0482c409 Merge branch 'master' into master 2023-06-02 16:23:25 +03:00
edizor 100688ace2 Update README.md
[skip ci]
2023-06-02 08:55:33 +08:00
edizor 50cf2cee23 Update README.md
[skip ci]
2023-06-02 08:46:50 +08:00
edizor 69febffe22 Update README.md
[skip ci]
2023-06-02 08:40:51 +08:00
edizor e41e0f203f Update README.md
[skip ci]
2023-06-02 08:31:53 +08:00
edizor 8ca4e21db4 Update README.md
[skip ci]
2023-06-02 08:16:39 +08:00
edizor 857442f347 Update README.md
[skip ci]
2023-06-02 08:13:40 +08:00
collaboratewithakash c433720734 backlinks removed 2023-06-01 12:23:54 +05:30
Bahaa El-Din Helmy 0938194300 Article: Converting Object To Map in Java (#14160)
This commit is related to the article entitled "Converting Object To Map in Java"
2023-05-31 11:35:56 -07:00
Bahaa El-Din Helmy 02f497bf75 Update article "Difference Between \z and \Z in a Regular Expression in Java" (#14151)
This commit for "Update article "Difference Between \z and \Z in a Regular Expression in Java""
2023-05-31 11:09:25 -07:00
collaboratewithakash cef108190d backlink updated 2023-05-31 17:33:18 +05:30
collaboratewithakash e2320e0a23 backlink updated 2023-05-31 17:24:54 +05:30
collaboratewithakash c1822f9c32 backlink updated 2023-05-31 17:23:33 +05:30
collaboratewithakash 23a62499f8 backlink updated 2023-05-31 17:20:13 +05:30
collaboratewithakash 899c36a216 backlink updated 2023-05-31 17:07:22 +05:30
collaboratewithakash 0902a64ca7 backlink updated 2023-05-31 17:01:08 +05:30
collaboratewithakash 2123276c3a backlink updated 2023-05-31 16:59:22 +05:30
collaboratewithakash 105b97ba77 backlink updated 2023-05-31 16:45:32 +05:30
collaboratewithakash 8fb1a1ba76 backlink updated 2023-05-31 16:43:10 +05:30
collaboratewithakash 0d31bf6752 backlink updated 2023-05-31 16:40:09 +05:30
collaboratewithakash 8e18b010fc backlink updated 2023-05-31 16:38:34 +05:30
collaboratewithakash 7a6bbd8816 backlink updated 2023-05-31 16:36:37 +05:30
collaboratewithakash 9b85fbe628 backlink updated 2023-05-31 16:35:19 +05:30
collaboratewithakash 25af10719f backlink updated 2023-05-31 16:33:31 +05:30
collaboratewithakash 7dd560cf85 backlink updated 2023-05-31 16:28:25 +05:30
collaboratewithakash 304916aaa0 backlink updated 2023-05-31 16:27:10 +05:30
collaboratewithakash 449e4a3c14 backlink updated 2023-05-31 16:26:13 +05:30
collaboratewithakash 9d81f5f341 backlink updated 2023-05-31 16:25:02 +05:30
collaboratewithakash a77d6a5d76 backlink updated 2023-05-31 16:23:51 +05:30
collaboratewithakash bcf40e5497 backlink updated 2023-05-31 16:07:51 +05:30
collaboratewithakash b1746c0302 backlink updated 2023-05-31 16:05:37 +05:30
collaboratewithakash e2ed41cd78 backlink updated 2023-05-31 16:02:45 +05:30
collaboratewithakash fae6ad80ff backlink updated 2023-05-31 15:57:10 +05:30
collaboratewithakash 30c571ad67 backlink updated 2023-05-31 15:53:10 +05:30
collaboratewithakash 148511608b backlink updated 2023-05-31 15:51:11 +05:30
collaboratewithakash cec01e1aed backlink updated 2023-05-31 15:49:39 +05:30
collaboratewithakash 5daa7cb722 backlink updated 2023-05-31 15:47:50 +05:30
collaboratewithakash d6c8acde5a backlink updated 2023-05-31 15:46:34 +05:30
sachin 3d15ed0020 bael-5728 added code (#14010)
* bael-5728 added code

* bael-5728 added code

* bael-5728 added code

* bael-5728 code fix

* bael-5728 code fix

---------

Co-authored-by: Sachin kumar <sachin.n.kumar@oracle.com>
2023-05-30 20:24:52 -05:00
collaboratewithakash 3d36484001 backlink updated 2023-05-30 17:47:55 +05:30
collaboratewithakash ca9a6b3236 backlink updated 2023-05-30 17:45:57 +05:30
collaboratewithakash 0dd8327c59 backlink updated 2023-05-30 17:44:35 +05:30
collaboratewithakash b507338c7d backlink updated 2023-05-30 17:33:21 +05:30
collaboratewithakash 53c1e1451e backlink updated 2023-05-30 17:31:46 +05:30
collaboratewithakash 251710a9eb backlink updated 2023-05-30 17:29:13 +05:30
collaboratewithakash 6ad2b04afb backlink updated 2023-05-30 17:26:02 +05:30
collaboratewithakash a64ad147d7 backlink updated 2023-05-30 17:24:41 +05:30
collaboratewithakash 8645733aa2 backlink updated 2023-05-30 17:11:31 +05:30
collaboratewithakash 48c08eaad3 backlink updated 2023-05-30 17:10:24 +05:30
collaboratewithakash 21f7ce6f07 backlink updated 2023-05-30 17:08:52 +05:30
collaboratewithakash 65206efc8a backlink updated 2023-05-30 17:07:11 +05:30
Kai Yuan ee4923a29d [list-with-default] Set Default Value for Elements in List (#14125)
* [list-with-default] Set Default Value for Elements in List

* [list-with-default] remove the ncopies and stream methods.

* [list-with-default]  remove irrelevant codes
2023-05-29 09:50:55 -05:00
Loredana Crusoveanu f24b58db1b Merge pull request #14134 from collaboratewithakash/master
backlinks added
2023-05-29 17:48:03 +03:00
Azhwani 0238c2b948 BAEL-6465: How to handle NoSuchElementException when reading a file through a Scanner ? (#13999) 2023-05-28 11:06:59 +02:00
collaboratewithakash 71bc8122b7 backlink updated 2023-05-27 17:16:00 +05:30
collaboratewithakash a4ef6abdff backlink updated 2023-05-27 17:12:28 +05:30
collaboratewithakash 47ae1bdc35 backlink updated 2023-05-27 17:06:19 +05:30
collaboratewithakash e3805a44cb backlink updated 2023-05-27 16:59:40 +05:30
collaboratewithakash 32b277b9f5 backlink updated 2023-05-27 16:45:37 +05:30
collaboratewithakash 9aad77c8f7 backlink updated 2023-05-27 16:17:36 +05:30
collaboratewithakash b435391943 backlink updated 2023-05-27 16:09:46 +05:30
collaboratewithakash 60c9ad3923 backlink updated 2023-05-27 16:07:03 +05:30
collaboratewithakash f5cd3dcdba backlink updated 2023-05-27 15:28:39 +05:30
collaboratewithakash deda69da7b updated backlink 2023-05-27 15:16:58 +05:30
Loredana Crusoveanu 455b68e052 Merge pull request #14123 from edizor/master
Update README
2023-05-26 10:49:54 +03:00
edizor 2b7abfca02 Update README.md
[skip ci]
2023-05-26 11:00:47 +08:00
edizor 7d85e9e8dc Update README.md
[skip ci]
2023-05-26 10:43:38 +08:00
edizor cd3684d0b4 Update README.md
[skip ci]
2023-05-26 10:35:47 +08:00
edizor c6b2b99bb2 Update README.md
[skip ci]
2023-05-26 10:21:02 +08:00
Bahaa El-Din Helmy 296be923ce Convert Hashmap to JSON object in Java (#14118)
This commit is related to the article "Convert Hashmap to JSON object in Java"
2023-05-25 17:45:29 -07:00
Kasra Madadipouya 605d45ab11 Merge pull request #13810 from press0/master
pr: add return types for assertion; test WrongVoucher vs GoodVoucher
2023-05-25 20:04:24 +02:00
edizor 7ed8ff9e9f Update README.md
[skip ci]
2023-05-26 00:46:34 +08:00
edizor 73de91bf9b Update README.md
[skip ci]
2023-05-26 00:38:16 +08:00
edizor 8975978757 Create README.md
[skip ci]
2023-05-26 00:34:00 +08:00
edizor 5ff88e9dab Update README.md
[skip ci]
2023-05-26 00:19:08 +08:00
edizor 30f0337020 Update README.md
[skip ci]
2023-05-26 00:09:07 +08:00
edizor 317b7dcd0d Update README.md
[skip ci]
2023-05-25 23:20:07 +08:00
Azhwani 752b49ba02 BAEL-6461: What's the difference between Scanner next() and nextLine() methods? (#14057) 2023-05-24 17:26:01 +02:00
Bahaa El-Din Helmy 82500be545 Array vs List Performance in Java (#14114)
This commit is related to the article entitled "Array vs List Performance in Java"
2023-05-24 07:59:59 -07:00
Bahaa El-Din Helmy 05a672410d Convert Hashmap to JSON object in Java (#14110)
This commit is for Convert Hashmap to JSON object in Java
2023-05-23 17:05:20 -07:00
Kai Yuan df15627edc [output-to-file] Write Console Output to Text File in Java (#14082)
* [output-to-file] Write Console Output to Text File in Java

* [output-to-file] rebase on the master
2023-05-23 16:56:31 -05:00
Kai Yuan 2ea83407d3 [scanner-with-spaces] how to take input as String with spaces in Java… (#14044)
* [scanner-with-spaces] how to take input as String with spaces in Java using Scanner?y

* [scanner-with-spaces] fix typo
2023-05-23 16:50:10 -05:00
thibault.faure 159a127379 Create new module core-java-string-operations-6
Move code for the Find the Longest Word in a String article
2023-05-22 19:51:40 +02:00
davidmartinezbarua 1161c21168 Merge pull request #14037 from andrewtarry/string-conversion
add value of comparison
2023-05-22 14:39:18 -03:00
Vini a54aa7c49b Merge pull request #14093 from sam-gardner/BAEL-6334-check-list-element-in-other-list
BAEL-6334 Make object properties example clearer
2023-05-22 14:36:10 +02:00
Vini 2285893a3d Merge pull request #13761 from ciphx/string_to_int_encapsulation
https://jira.baeldung.com/browse/BAEL-5859
2023-05-22 13:42:20 +02:00
Sam Gardner 58633573a3 BAEL-6334 Make object properties example clearer 2023-05-22 10:35:26 +01:00
Deboshree d99790ef18 changing branch 2023-05-22 13:26:06 +05:30
Azhwani a0931c50ce BAEL-6460: Why is Scanner skipping nextLine() after using other next functions? (#14079) 2023-05-22 09:04:42 +02:00
Deboshree 2bf46ddbcc changing unit test class name 2023-05-21 23:41:53 +05:30
ciphx acdafe5817 Merge branch 'eugenp:master' into string_to_int_encapsulation 2023-05-21 23:37:26 +05:30
Deboshree a0079d22d2 removed optional specific function 2023-05-21 23:36:38 +05:30
Andrew Tarry 21b5f5f260 Delete README.md 2023-05-21 20:13:34 +03:00
vaibhav007jain 9fe90d4663 Bael-6331: Adding changes for creating and checking empty streams (#14047)
* BAEL-6331: Create EmptyStreams.java

* BAEL-6331: Create EmptyStreamsUnitTest.java
2023-05-21 08:15:43 +05:30
Bahaa El-Din Helmy 7a8afbb58f Array vs List Performance in Java (#14078)
This commit is related to the article entitled "Array vs List Performance in Java"
2023-05-20 14:52:56 -07:00
Bahaa El-Din Helmy 7c47447776 Convert Hashmap to JSON object in Java (#14070)
* Convert Hashmap to JSON object in Java

This commit is related to the article entitled "Convert Hashmap to JSON object in Java"

* Convert Hashmap to JSON object in Java

This commit is for the article "Convert Hashmap to JSON object in Java"
2023-05-20 09:00:00 -07:00
Eugene Kovko 7317f0816d BAEL-4615: Create and Detect Memory Leak in Java (#14060) 2023-05-19 15:00:16 -07:00
Eugene Kovko 2091146702 BAEL-5947: Moving a project to a different package (#14054)
* Revert "feat: BAEL-5947 External Debugging with JMXTerm (#13847)"

This reverts commit ae04ab2510.

* BAEL-5947: Moving a project to a different package
2023-05-19 12:29:10 -07:00
davidmartinezbarua fcd357036f Merge pull request #14007 from AndiCover/master
BAEL-6428 Make a Method Execute Only Once in Java
2023-05-19 10:02:30 -03:00
AndiCover d065736bf4 BAEL-6428 Make a Method Execute Only Once in Java 2023-05-18 19:20:49 +02:00
Bahaa El-Din Helmy c9aef79909 Title: Array vs List Performance in Java (#14034)
This commit related to the article entitled "Array vs List Performance in Java".
2023-05-18 08:19:14 -07:00
Deboshree c4431dadf5 change return type to optional 2023-05-18 19:27:02 +05:30
Sam Gardner 8430235bb1 Merge branch 'master' into BAEL-6334-check-list-element-in-other-list 2023-05-18 10:31:57 +01:00
Sam Gardner ae1a3f9e79 BAEL-6334 Improve test names and typos 2023-05-18 10:27:08 +01:00
Bhaskar Ghosh Dastidar da265d4f81 [BAEL-6339] custom iterator with testcases (#14038)
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-05-17 13:32:04 -07:00
Andrew Tarry 5ca5a1e8e7 add value of comparision 2023-05-17 21:23:14 +03:00
edizor 73885aade0 Update README.md
[skip ci]
2023-05-17 21:12:44 +08:00
edizor 768e6b767a Update README.md
[skip ci]
2023-05-17 20:58:22 +08:00