Commit Graph

2683 Commits

Author SHA1 Message Date
Songting Xu
b268253ecf [BAEL-5840] Sort a collection of Objects on multiple fields (#12950)
* [BAEL-5840] Sort a collection of Objects on multiple fields

* Fix maven plugin version

* Fix pom again

* Fix again

* Move to core-java-collections-4 module

* Remove unused files

* Test renaming

* Handle NPE

* Use Nonnull annotation

* remove redundant dependency

* remove redundant scope

* Update pom.xml
2022-11-19 08:37:29 +05:30
freelansam
188201d324 JAVA-15409: Fix formatting of POMs (#12992) 2022-11-18 00:26:06 +05:30
panos-kakos
d9e72e2d93 [JAVA-13963] Align code with article + clean up (#13013)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-11-17 01:12:28 +05:30
Kumar Prabhash Anand
028a784903 BAEL-5801 - adding iterate list unit test (#12883)
* BAEL-5801 - adding iterate list unit test

* BAEL-5801 - replaced record to class

* BAEL-5801 - added spring data dependency

* moved source file in java17 module

* BAEL-5801 updated pom.xml configurations

* BAEL-5801 moved to correct java17 module

* updated example

* BAEL-5801 - making iterator instance strong typed

* BAEL-5801 - removed class example
2022-11-16 18:14:19 +00:00
Loredana Crusoveanu
6be9cc1151 Merge pull request #13043 from collaboratewithakash/master
back links fixed
2022-11-16 13:16:59 +02:00
collaboratewithakash
46bf45f76e backlink removed 2022-11-16 16:10:04 +05:30
Vartika Nigam
bc9fb28a3a code for thread creation (#12971)
* code for thread creation

* code refactored

* added code for executor service thread pools

* moved the files to a single module

Co-authored-by: Vartika_Nigam <Vartika_Nigam@DellTeam.com>
2022-11-15 21:09:18 -06:00
Loredana Crusoveanu
a02288cb75 Merge pull request #13038 from edizor/master
README
2022-11-15 09:57:23 +02:00
edizor
a6c286d79c Update README.md
[skip ci]
2022-11-15 10:06:46 +08:00
Kai Yuan
277fd4dc65 [fillEnumInList] Filling a List with All Enum Values in Java (#13005)
* [fillEnumInList] Filling a List with All Enum Values in Java

* [fillEnumInList] change the return type in the util method
2022-11-14 20:03:18 -06:00
edizor
fdc2b75d1d Update README.md
[skip ci]
2022-11-15 10:02:03 +08:00
Kilian Schneider
a663316b40 basler1337@gmail.com feat add element to array list at specific index (#13025)
* feat add element to array list at specific index

* add unit test for add element at index
2022-11-14 10:48:39 -08:00
Loredana Crusoveanu
de8480f863 Update README.md 2022-11-13 17:58:21 +02:00
panos-kakos
91350f82d4 [JAVA-13960] Clean up (#12994)
* [JAVA-13960] Clean up

* [JAVA-13960] Rename classes

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-11-13 17:46:26 +05:30
rehammuzzamil08
22f24f2c46 BAEL-5670: Remove All Non Numeric Characters but Keep the Decimal Separator in Java String (#12827)
* BAEL-5670: Remove All Non Numeric Characters but Keep the Decimal Separator in Java String

* BAEL-5670: Remove All Non Numeric Characters but Keep the Decimal Separator in Java String

* BAEL-5670: Remove All Non Numeric Characters but Keep the Decimal Separator in Java String
- Move to a new module core-java-string-apis-2

* BAEL-5670: Add README.md file

* BAEL-5670: Add test cases to handle cases where decimal sepator is not a period or dot.

* BAEL-5670: Remove test cases to handle cases where decimal sepator is not a period or dot.

* BAEL-5670: Update ordering of modules in pom.xml
2022-11-13 09:38:48 +05:30
davidmartinezbarua
e5924e50c3 Merge pull request #12999 from thibaultfaure/BAEL-5925-finding-max-date-in-object-list
BAEL-5925 Code for the finding max date in object list article
2022-11-12 01:25:11 -03:00
thibault.faure
d10014534b BAEL-5925 Code for the finding max date in object list article 2022-11-11 18:32:57 +01:00
edizor
6b03781ba5 Update README.md 2022-11-11 16:09:02 +08:00
Loredana Crusoveanu
fe8d3024c7 Merge pull request #12936 from achraftt/BAEL-5791-deleteDiedCode
BAEL-5791: adaptation after creating new module
2022-11-11 10:01:33 +02:00
Loredana Crusoveanu
d75ae17a4e Merge pull request #12935 from achraftt/BAEL-5791-adaptation
BAEL-5791: Convert String to Instant (creating new module)
2022-11-11 10:00:03 +02:00
edizor
8ec9cb25c1 Update README.md
[skip ci]
2022-11-11 09:37:42 +08:00
edizor
a22bd22eeb Update README.md
[skip ci]
2022-11-11 08:56:17 +08:00
edizor
c525e66191 Update README.md
[skip ci]
2022-11-11 08:45:29 +08:00
edizor
da4c8d0a1a Update README.md
[skip ci]
2022-11-11 08:41:08 +08:00
edizor
653920e11e Update README.md
[skip ci]
2022-11-11 08:35:42 +08:00
Gaetano Piazzolla
4744ca53b9 BAEL-5790 - Convert java.util.Date to java.sql.Date (#12917)
* BAEL-5790 - Convert java.util.Date to java.sql.Date

* BAEL-5790 - Renamed unit test

* BAEL-5790 | fixed test

* Update core-java-modules/core-java-date-operations-3/src/main/java/com/baeldung/utiltosqldate/UnitToSqlDateUtils.java

Co-authored-by: Brandon Ward <brandon.ward1993@gmail.com>

* Update core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/utiltosqldate/UtilToSqlDateUtilsUnitTest.java

Co-authored-by: Brandon Ward <brandon.ward1993@gmail.com>

* Update core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/utiltosqldate/UtilToSqlDateUtilsUnitTest.java

Co-authored-by: Brandon Ward <brandon.ward1993@gmail.com>

* BAEL-5790 | renamed class

* BAEL-5790 | spaces

* BAEL-5790 | renaming class

* Update core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/utiltosqldate/UtilToSqlDateUtilsUnitTest.java

Co-authored-by: KevinGilmore <kpg102@gmail.com>

* Update core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/utiltosqldate/UtilToSqlDateUtilsUnitTest.java

Co-authored-by: KevinGilmore <kpg102@gmail.com>

* Update core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/utiltosqldate/UtilToSqlDateUtilsUnitTest.java

Co-authored-by: KevinGilmore <kpg102@gmail.com>

* Update core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/utiltosqldate/UtilToSqlDateUtilsUnitTest.java

Co-authored-by: KevinGilmore <kpg102@gmail.com>

* BAEL-5790 - renamed unit test

Co-authored-by: Brandon Ward <brandon.ward1993@gmail.com>
Co-authored-by: KevinGilmore <kpg102@gmail.com>
2022-11-07 10:40:22 -07:00
Loredana Crusoveanu
f8d306d31c Merge pull request #12803 from press0/patch-1
pom.xml - update streamex dependency so MergeMaps compiles on java 17
2022-11-07 16:42:41 +02:00
Loredana Crusoveanu
6ab30899bc Merge pull request #12978 from collaboratewithakash/master
a few backlinks added
2022-11-07 09:49:22 +02:00
panos-kakos
a12ce37137 [JAVA-13959] Alligned code with article (#12982)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-11-07 00:03:13 +05:30
davidmartinezbarua
8f548a969f Merge pull request #12967 from thibaultfaure/article/BAEL-5816-check-if-all-runnable-are-done-with-executor-service
BAEL-58616 Code for the Check If All Runnable Are Done article
2022-11-05 13:33:37 -03:00
collaboratewithakash
1033d0602b Update README.md 2022-11-05 16:24:24 +05:30
panos-kakos
bb97d17de3 [JAVA-13957] Added example for Timer functionality (#12906)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-11-05 16:23:30 +05:30
thibault.faure
fa413084df BAEL-58616 Code for the Check If All Runnable Are Done article 2022-11-05 11:36:41 +01:00
panos-kakos
3ab3b3c107 [JAVA-13958] Minor style changes + aligned code with article (#12889)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-11-05 15:28:01 +05:30
Kai Yuan
a02b3b49bb [slicingArrays] Slicing Arrays in Java (#12957) 2022-11-03 20:59:33 -05:00
edizor
401560f70f Update README.md
[skip ci]
2022-11-02 21:17:34 +08:00
edizor
fa6db9f95f Create README.md
[skip ci]
2022-11-02 21:08:28 +08:00
vunamtien
95f77aded8 calculate standard deviation (#12963)
Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2022-11-01 08:38:06 -07:00
achraftt
a5fa462e93 BAEL-5791: adapt pom file 2022-10-31 22:41:33 +01:00
Olu
eb633a5b19 swapped the order of arguments for assertEquals() (#12956)
* Creating a Deep vs Shallow Copy of an Object in Java

* completed tests for LinkedHashSet

* update

* updated PR

* swapped the order of arguments for assertEquals()
2022-10-31 14:08:59 -07:00
Kai Yuan
60bf069feb [URI-Creation] Difference Between URI.create() and new URI() (#12937)
* [URI-Creation] Difference Between URI.create() and new URI()

* [URI-Creation] split test methods for invalid & valid inputs
2022-10-29 21:00:33 -05:00
Arya
66177c4fa3 Added the test. (#12947) 2022-10-28 09:20:01 -07:00
Loredana Crusoveanu
01dae9c3f9 BAEL-5888-v2 2022-10-28 10:31:33 +03:00
Olu
ed73a65869 A Guide to LinkedHashSet in Java (#12932)
* Creating a Deep vs Shallow Copy of an Object in Java

* completed tests for LinkedHashSet

* update

* updated PR
2022-10-27 22:58:17 -07:00
achraftt
a94703cd1c BAEL-5791: adaptation after creating new module 2022-10-27 00:33:38 +02:00
achraftt
7c71e3c6e5 BAEL-5791: Convert String to Instant (creating new module) 2022-10-27 00:12:35 +02:00
edizor
f6a3385718 Update README.md 2022-10-26 22:39:48 +08:00
edizor
da11b6f03a Update README.md 2022-10-26 22:34:34 +08:00
edizor
da82e31868 Update README.md 2022-10-26 22:31:27 +08:00
edizor
65c650de5f Update README.md 2022-10-26 22:28:01 +08:00