Commit Graph

2707 Commits

Author SHA1 Message Date
Azhwani
b4a8754f44 BAEL-5931: Default Capacity of ArrayList (#13110) 2022-12-02 18:50:50 +01:00
Arya
4ed803cdc8 Added the code for "Errors and Exceptions in Java". (#13104)
* Added the code for "Errors and Exceptions in Java".

* Added the unit tests.
2022-11-30 11:51:46 -08:00
jsgrah-spring
368d788197 JAVA-12387. Correct/Rename THREADS to TASKS and int threads to int tasks. (#13084) 2022-11-30 23:19:52 +05:30
edizor
cfdba966e8 Update README.md
[skip ci]
2022-11-30 07:43:45 +08:00
edizor
355e54e659 Update README.md
[skip ci]
2022-11-30 07:26:23 +08:00
edizor
e438db3a70 Update README.md
[skip ci]
2022-11-30 07:24:05 +08:00
edizor
144f51cd9d Update README.md
[skip ci]
2022-11-30 07:19:54 +08:00
Kilian Schneider
fe4990374e BAEL-5785 Map.of() vs Map.ofEntries() test (#13064)
* BAEL-5785 Map.of() vs Map.ofEntries() test

* Update pom.xml

* Update pom.xml

* Add immutable test case

* Update map naming
2022-11-28 20:33:35 -06:00
alemoles
6e3bb64b1f BAEL-5981 - String Interpolation in Java (#13092) 2022-11-27 14:28:44 -08:00
Gaetano Piazzolla
2881826b53 BAEL-5921 | Guide to Java Priority Queue (#13087)
* BAEL-5921 | Guide to Java Priority Queue

* BAEL-5921 | Adressed comments

* BAEL-5921 | Fixed test

* BAEL-5921 | Fixed test
2022-11-27 20:00:09 +01:00
Olu
8182dc38fa Convert between LocalDateTime and ZonedDateTime - BAEL-5879 (#13057)
* 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()

* completed code for Convert between LocalDateTime and ZonedDateTime

* fixed module name

* update

* update

* added more assertions

* update

* added more example

* update

* jenkin build error fix

* jenkin build error fix

* jenkins build fix

* fixed suggested comments

* update

* update
2022-11-27 18:16:22 +05:30
pedrolopes
9928348739 BAEL-5922 User for Optional in Java (#13051)
* repositories. model class. initial tests

* tests declarative api

* removing from module java 11

* copy to optional module

* fix assertEquals import
2022-11-27 17:38:38 +05:30
edizor
a81b1b25d5 Update README.md
[skip ci]
2022-11-25 15:59:07 +08:00
edizor
110c843f26 Update README.md
[skip ci]
2022-11-25 15:22:31 +08:00
edizor
0f59ec0599 Update README.md
[skip ci]
2022-11-25 14:46:53 +08:00
edizor
b98a3442b3 Update README.md
[skip ci]
2022-11-25 14:42:29 +08:00
edizor
db51e89474 Update README.md
[skip ci]
2022-11-25 14:36:06 +08:00
edizor
8ff490b0a5 Update README.md
[skip ci]
2022-11-25 14:31:33 +08:00
Bhaskar Ghosh Dastidar
c7b4b1da21 [JAVA-5980] First Non Repeating Character (#13072)
* [JAVA-5980] First Non Repeating Character

* [JAVA-5980] renamed UnitTest class

* [JAVA-5980] changed file location to core-java-string-algorithms-3

Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2022-11-24 15:41:35 -08:00
panos-kakos
ed92ffdad5 [JAVA-13962] Align code with article + clean up (#13012)
* [JAVA-13962] Align code with article + clean up

* [JAVA-13962] Clean up

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-11-25 00:53:09 +05:30
Harry9656
bd5a0b9276 [JAVA-4543]: Improve Guide to UUID in Java (#12962)
Co-authored-by: Harpal Singh <harpal.singh@kaleyra.com>
2022-11-23 17:32:29 +00:00
Harry9656
6c59dc9b48 [Java-5762]: Using Pipes in Runtime.exec() Command (#12941)
Co-authored-by: Harpal Singh <harpal.singh@kaleyra.com>
2022-11-23 17:31:21 +00:00
Harry9656
bd21da0396 JAVA-5735: Appending a new File to a ZIP file (#13044) 2022-11-22 00:44:18 -07:00
Saajan N
9b780b138a Moved code for BAEL-5752 to new module 2022-11-21 18:06:30 +05:30
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