Commit Graph

3310 Commits

Author SHA1 Message Date
Kai Yuan 63953b74f3 Nth substring (#15120)
* [nth-substring] nth substring in a string

* [nth-substring] find n-th substring
2023-11-05 19:26:25 -06:00
Mo Helmy 89744aff6c This commit is related to BAEL-7161 (#15132)
This commit aims to add a test class "StreamToMapAndMultiMapUnitTest" that provides several approaches to convert Java stream to Map or MultiMap.
2023-11-04 20:06:13 -07:00
panos-kakos d9fd96773e [JAVA-26720] Upgraded opencsv to 5.8 version (#15126) 2023-11-04 15:23:42 +02:00
panos-kakos 1baaca3e37 [JAVA-26432] Update "Introduction to Java 8 Streams" article Clean up (#15038) 2023-11-04 12:01:25 +02:00
anuragkumawat df78df7a81 JAVA-26394 Move java-native to core-java modules (#15092) 2023-11-04 11:23:37 +02:00
vaibhav007jain 22ad2b88a8 Bael-7075: Initial Commit (#15053)
* Create VectorOperations.java

BAEL-7075: Initial Commit

* BAEL-7075: Create VectorOperationsUnitTest.java

* Delete core-java-modules/core-java-collections-5/src/main/java/com/baeldung/vectors/VectorOperations.java

* Update VectorOperationsUnitTest.java

* Update VectorOperationsUnitTest.java - Added one more test case
2023-11-04 11:02:23 +05:30
Pedro Lopes 6f618f5cf9 BAEL-7128: Optional as a Record Parameter in Java (#15114)
* record class and test

* renaming test
2023-11-03 09:50:47 +05:30
Michael Olayemi 4c06d8e9f9 How to Document Generic Type Parameter (#15108)
* How to Documeny Generic Type Parameters

* How to Documeny Generic Type Parameters
2023-11-03 09:45:06 +05:30
Palaniappan Arunachalam 57840bb083 BAEL-4200: JNDI - What Is java:comp/env? (#15081) 2023-11-02 09:28:54 +05:30
Kai Yuan d8fb8b381f [linkedhashmap-first-last] get first and last entry from LinkedHashMap (#15066)
* [linkedhashmap-first-last] get first and last entry from LinkedHashMap

* [linkedhashmap-first-last] add the stream approach
2023-11-01 20:28:53 -05:00
Maiklins 5fdce9f12a Merge pull request #15119 from Maiklins/bael-7061-update-readme
Update readme
2023-11-01 21:25:32 +01:00
mikr dad8a5c021 Update readme 2023-11-01 21:14:14 +01:00
Maiklins 47856fa103 Merge pull request #15073 from Neetika23/stringIterationCode
String iteration code
2023-11-01 21:09:45 +01:00
Bogdan Cardoş 7482aa3c25 BAEL-6874 test code for article (#15118)
* BAEL-6819 convert from int to Long in Java

* BAEL-6819 update package name

* BAEL-6874 test code for article

* BAEL-6874 rename test class
2023-11-01 12:13:08 -07:00
Bhaskar Ghosh Dastidar aaa4e333a6 [BAEL-7043] mutable strings (#15112)
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-11-01 12:02:13 -07:00
MohamedHelmyKassab 33f52b2e0b This PR is related to the article BAEL-7130 (#15109)
* This commit related to the article BAEL-7130

This commit aims to add a RoundDate class with several methods to round the date.

* This commit related to the article BAEL-7130

This commit aims to add a test class DateRoundingUnitTest.
2023-11-01 11:54:40 -07:00
Eugene Kovko 036369c792 BAEL-6705: Fixed typo (#15015) 2023-10-31 08:21:05 -07:00
Michael Olayemi 6e25eb35cc Add Spring StringUtils class (#15090)
* Add Spring StringUtils class

* Add Spring StringUtils class
2023-10-31 09:36:00 +05:30
Kasra Madadipouya e984098398 Merge pull request #15035 from timis1/JAVA-23808_1
JAVA-23808 Rewrite Custom Spliterator Section of Introduction to Spli…
2023-10-30 21:28:53 +01:00
Vini 6f280e4cac Merge pull request #15054 from anujgaud/ag/check-string-contains-unicode-letters
[BAEL-7059] Check if a String Contains Unicode Letters
2023-10-30 20:30:50 +01:00
Azhwani 49929794b8 BAEL-7111: Get First Date of Current Month in Java (#15023) 2023-10-30 17:42:44 +01:00
Azhwani de7dadabef BAEL-7108: Comparing Arrays Using compare() Method in Java (#14975) 2023-10-30 17:23:12 +01:00
Loredana Crusoveanu fdad46e34b Merge pull request #14838 from hangga/completablefuture
[Add] completablefuture timeout test | Hangga Aji Sayekti
2023-10-30 17:41:35 +02:00
anujgaud dfd9baf8e0 Formatted UnicodeLetterChecker.java 2023-10-30 13:50:16 +05:30
Manfred a127e7644e BAEL-6804: Difference Between ZipFile and ZipInputStream in Java (#15039)
* BAEL-6804: Difference Between ZipFile and ZipInputStream in Java

* BAEL-6804: Difference Between ZipFile and ZipInputStream in Java
- use 2-space indents for line continuations
2023-10-29 19:56:52 -05:00
Loredana Crusoveanu 8a48077403 Merge pull request #15091 from edizor/master
Update README
2023-10-29 11:34:16 +02:00
Michael Olayemi f5ce4e6d86 PrintWriter vs FileWriter in Java (#15034)
* https://jira.baeldung.com/browse/BAEL-7117

* PrintWriter vs FileWriter in Java

* PrintWriter vs FileWriter in Java

* https://jira.baeldung.com/browse/BAEL-7117

* PrintWriter vs FileWriter in Java
2023-10-29 09:58:39 +05:30
pentakon c115e99dcc BAEL-6814 Convert List<CompletableFuture> to CompletableFuture<List> (#15028)
* Code for BAEL-6814 Convert List<CompletableFuture> to CompletableFuture<List>

* Refactor some comments
2023-10-29 09:57:34 +05:30
edizor ff76b6c949 Update README.md
[skip ci]
2023-10-29 07:25:11 +08:00
edizor 78dc038e8b Update README.md
[skip ci]
2023-10-29 07:14:25 +08:00
edizor 1425f647f6 Update README.md
[skip ci]
2023-10-29 07:09:45 +08:00
edizor b4fd454c65 Update README.md
[skip ci]
2023-10-29 07:07:22 +08:00
edizor fde7fabe42 Update README.md
[skip ci]
2023-10-29 07:04:20 +08:00
edizor fcff240865 Update README.md
[skip ci]
2023-10-29 07:02:12 +08:00
edizor 8518e65d78 Update README.md
[skip ci]
2023-10-29 06:51:40 +08:00
edizor 499705b6d1 Update README.md
[skip ci]
2023-10-29 06:42:50 +08:00
edizor f6deb1c0ef Update README.md
[skip ci]
2023-10-29 06:40:01 +08:00
edizor 467b9a2fed Update README.md
[skip ci]
2023-10-29 06:31:46 +08:00
edizor 3df29751a7 Update README.md
[skip ci]
2023-10-29 06:29:25 +08:00
lucaCambi77 c65981938f [BAEL-7048] - Passing Strings By Reference in Java (#15047)
* feat: pass by reference java string

* fix: review
2023-10-28 16:56:11 -05:00
collaboratewithakash 3042166f4b readme created or backlink added 2023-10-28 14:39:02 +05:30
collaboratewithakash 96b32de7ba backlink added 2023-10-28 14:33:07 +05:30
collaboratewithakash 235cba0dbd updated backlink 2023-10-28 13:08:15 +05:30
Anton Dalagan 3c8d10dd82 Bael 7146 improvement to this article convert double to float in java (#15067)
* Commit 1 - Anton Dalagan Code for Evaluation article. Contains Unit tests, domain class, and App main method.

* BAEL-7146 Updated the unit test to display the results of the conversion. This will be explained in the article itself.

* BAEL-7146 cleaned up pR
2023-10-27 09:44:07 -07:00
Neetika23 befba49dec Update StringIteratorTest.java 2023-10-27 14:52:14 +05:30
Neetika23 66604b8e27 Update StringIterator.java 2023-10-27 14:51:01 +05:30
Neetika23 98c8e96fca Delete core-java-modules/core-java-lang-oop-patterns/src/test/java/com/baeldung/shallowdeepcopy/ShallowDeepCopyExampleTest.java 2023-10-27 14:49:52 +05:30
Neetika23 f20dbd4ed9 Delete core-java-modules/core-java-lang-oop-patterns/src/main/java/com/baeldung/shallowdeepcopy/Student.java 2023-10-27 14:49:29 +05:30
Neetika23 002def2d24 Delete core-java-modules/core-java-lang-oop-patterns/src/main/java/com/baeldung/shallowdeepcopy/School.java 2023-10-27 14:49:09 +05:30
Azhwani 16b931c4df BAEL-7055: How can I capitalize the first letter of each word in a string? (#14927)
Co-authored-by: Mo Helmy <135069400+BenHelmyBen@users.noreply.github.com>
2023-10-27 08:46:04 +02:00