Commit Graph

2832 Commits

Author SHA1 Message Date
Kai Yuan
c57a192c13 [abs-int-diff] Return Absolute Difference Between Two Integers in Java (#13379) 2023-02-01 21:01:09 -06:00
Olu
ac6a85ac22 BAEL 5932 - Callback Functions in Java (#13364) 2023-02-01 08:04:40 +01:00
Kai Yuan
3d2661d407 [strArrayToIntArray] convert str array to int array (#13217) 2023-01-31 20:11:14 -06:00
davidmartinezbarua
788b97582a Merge pull request #13077 from sebx59/master
BAEL-5727 - Determine If a Class Implements an Interface in Java
2023-01-31 17:25:50 -03:00
sebx59
1fe0aab822 updated Unit test to add assertions examples 2023-01-31 09:23:52 +01:00
Bhaskar Ghosh Dastidar
a58eb8abf4 [JAVA-5783] stream to iterable (#13369)
* [JAVA-5783] stream to iterable

* [JAVA-5783] tests refactor

---------

Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-01-31 08:16:11 +05:30
alemoles
2113ddf953 BAEL-5924 Java 8 Stream with Batch Processing Support (#13366) 2023-01-30 22:49:57 +05:30
Loredana Crusoveanu
ce2b723f1e Merge pull request #13363 from timis1/JAVA-17293
JAVA-17293 Update Java Mail articles
2023-01-30 13:08:45 +02:00
Alexandru Borza
662056bf57 BAEL-6146 - Initialize an ArrayList with All Zeroes or Null in Java (#13368)
* initialize arraylist with null or zeros

* configure pom parent

* move code

* delete module
2023-01-29 14:51:12 -08:00
Kai Yuan
1bbd640e9c [int-zero-or-null] Check if an Integer Value is null or Zero in Java (#13332) 2023-01-28 11:29:20 -06:00
Loredana Crusoveanu
1a4c03430a Merge pull request #13359 from ulisseslima/bael-5999-quickfix_compile-string
BAEL-5999 - Compiling and Executing Code From a String in Java - quick fix
2023-01-28 17:27:19 +02:00
Iulian Timis
69910fa94f JAVA-17293 Fix java version problem for java bind 2023-01-28 16:16:01 +02:00
Iulian Timis
06784112ad JAVA-17293 Update Java Mail articles for core-java-networking-3 2023-01-28 13:15:21 +02:00
Iulian Timis
ae0b1ac7ec JAVA-17293 Update Java Mail articles 2023-01-28 12:47:15 +02:00
Kai Yuan
cfc23917b4 [comp-str-enum] Comparing a String to an Enum Value in Java (#13349) 2023-01-27 20:56:13 -06:00
Olu
8b2994940f BAEL 5932 - Callback Functions in Java (#13335) 2023-01-27 21:37:47 +01:00
Ulisses Lima
e811a3196d inverting condition to match the article 2023-01-27 13:32:59 -03:00
Michael Olayemi
139be86428 BAEL-5952-Java HttpClient - Map Json Response to Java Class (#13234)
* Java HttpClient - Map Json Response to Java Class

* BAEL-5952-Java HttpClient - Map Json Response to Java Class

* BAEL-5952-Java HttpClient - Map Json Response to Java Class

* Java HttpClient - Map Json Response to Java Class

* Java HttpClient - Map Json Response to Java Class

* Java HttpClient - Map Json Response to Java Class

* Java HttpClient - Map Json Response to Java Class

* Java HttpClient - Map Json Response to Java Class

* Java HttpClient - Map Json Response to Java Class

* Java HttpClient - Map Json Response to Java Class

* Java HttpClient - Map Json Response to Java Class

* Java HttpClient - Map Json Response to Java Class

* Java HttpClient - Map Json Response to Java Class

* Java HttpClient - Map Json Response to Java Class

* Java HttpClient - Map Json Response to Java Class

* Java HttpClient - Map Json Response to Java Class

* Java HttpClient - Map Json Response to Java Class

* Java HttpClient - Map Json Response to Java Class
2023-01-27 12:52:01 +05:30
edizor
b17feeb36a Update README.md
[skip ci]
2023-01-26 16:21:14 +08:00
edizor
2aa020ee24 Update README.md
[skip ci]
2023-01-26 16:16:09 +08:00
edizor
f7948495bf Update README.md
[skip ci]
2023-01-26 16:12:14 +08:00
edizor
c3d4a60bae Update README.md
[skip ci]
2023-01-26 16:03:26 +08:00
edizor
d7507b50f1 Update README.md
[skip ci]
2023-01-26 15:57:56 +08:00
Kilian Schneider
b2f3ba84e8 BAEL-6091 structured concurrency (#13297) 2023-01-23 12:57:00 -08:00
timis1
64060e8c08 JAVA-17420 Update The transient Keyword in Java Article (#13321)
Co-authored-by: Iulian Timis <iulian.timis@tora.com>
2023-01-23 23:57:35 +05:30
Kai Yuan
7ebf6f9ca6 [bigDecimal-x-int] Multiply a BigDecimal By an Integer in Java (#13320) 2023-01-23 10:41:19 -06:00
hajarrs
0f48c407f4 Check If Command Line Arguments Are Null in Java (#13246) 2023-01-23 19:04:39 +05:30
Vali Tuguran
42d27a6bfe BAEL-6040 Add Java List tests. (#13255)
* BAEL-6040 Add list interface example.

* BAEL-6040 Updated list iterator.

* BAEL-6040 Removed logger import.

* BAEL-6040 Added List interface tests.

* BAEL-6040 Update tests success names.

* BAEL-6040 Small names refactoring.

* BAEL-6040 Add new core-java-collections-5 module.

* BAEL-6040 Create module core-java-collections-list-5.

* BAEL-6040 Create module core-java-collections-list-5.
2023-01-21 21:39:34 -07:00
Azhwani
8a76d8767e BAEL-6044: Fix the IllegalArgumentException: No enum const class (#13171) 2023-01-21 16:16:18 +01:00
edizor
03b61f53be Update README.md
[skip ci]
2023-01-20 16:31:09 +08:00
edizor
2e8860b878 Update README.md
[skip ci]
2023-01-20 16:27:49 +08:00
edizor
e13cbb9322 Update README.md
[skip ci]
2023-01-20 16:24:48 +08:00
edizor
41301e8390 Update README.md
[skip ci]
2023-01-20 16:21:36 +08:00
edizor
232b936355 Update README.md
[skip ci]
2023-01-20 16:17:17 +08:00
edizor
4d547d5844 Update README.md
[skip ci]
2023-01-20 16:11:34 +08:00
edizor
ebcd7ec9f7 Merge branch 'eugenp:master' into master 2023-01-20 16:10:28 +08:00
Iniubong LA
1561836764 arthurshur@gmail.com (#13275)
* Creating a deep vs shallow copy of an object in Java

* Creating a deep vs shallow copy of an object in Java

* Baeldung article converting number bases

* Baeldung article converting number bases

* edits made to Converting a Number from One Base to Another in Java

* added braces to oneliners

* added precondition to check input
2023-01-19 11:03:51 -08:00
Bhaskar Ghosh Dastidar
21241c62bf [JAVA-5730] convert list of objects to list of strings (#13166)
* [JAVA-5730] convert list of objects to list of strings

* [JAVA-5730] added new unit tests with null and non-null lists. modified pom.xml with java version to 16

* [JAVA-5730] simplified User class and formatted the codebase

* [JAVA-5730] added module in jdk-9 and above profile

* [JAVA-5730] removed arraylist module from other profiles of core-java pom

* [JAVA-5730] java util opened for reflection surefire plugin

Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-01-18 19:53:05 -07:00
edizor
c8e938bdbd Update README.md
[skip ci]
2023-01-19 07:44:33 +08:00
edizor
367e6c8dbe Update README.md
[skip ci]
2023-01-19 07:30:26 +08:00
IfThen2
09ac2f08da code for BAEL-5999 Converting String Object to Java Compilable Code (#13179)
* code for BAEL-5999 Converting String Object to Java Compilable Code

* move code from core-java-jvm-2 to core-java-jvm-3
fix unit test name
fix core-java-jvm-3 test directory structure
disable non-working unit tests from core-java-jvm-3
2023-01-18 18:24:00 +05:30
alemoles
39341089fb BAEL-5924 Java 8 Stream with Batch Processing Support (#13203) 2023-01-18 18:18:57 +05:30
HARDEMAN Sébastien
90e29a2734 case correction 2023-01-18 10:39:54 +01:00
Kai Yuan
95943d475d [store-triple-in-list] Storing Data Triple in a List in Java (#13295)
* [store-triple-in-list] Storing Data Triple in a List in Java

* [store-triple-in-list] method name "give..."->"given..."
2023-01-17 17:15:26 -06:00
jsgrah-spring
e8ff2e31bf JAVA-15621, Potential issue in "Guide to UUID in Java" article. (#13271)
* JAVA-15621, Potential issue in "Guide to UUID in Java" article.

* JAVA-15621, Keep the raw strings in the article to make it easy for users to understand.

* JAVA-15621, Keep the raw strings in the article to make it easy for users to understand.

Co-authored-by: jogra <joseph.sterling.grah@miles.no>
2023-01-16 23:07:14 +05:30
Thiago dos Santos Hora
0ad39ac8ad BAEL-5959: Adjust code style (#13299)
* BAEL-5959: Monad in Java

* Fix test name

* Fix code style
2023-01-16 08:30:08 -08:00
Kai Yuan
e03524a6c4 [List-CaseInsenContains] Case-Insensitive Searching in ArrayList (#13280) 2023-01-13 20:34:54 -06:00
panos-kakos
2d2d0ed9de Java 16961 (#13236)
* [JAVA-16961] Moved code for article "Create an Empty Map in Java"

* [JAVA-16961] Alter README.md

* [JAVA-16961] Moved code for article "Sorting a Hashset in Java"

* [JAVA-16961] Added links to README.md files

* [JAVA-16961] Revert link changes

* [JAVA-16961] Replaced junit4 with junit5 annotations

* [JAVA-16961] test build

* [JAVA-16961] Added junit annotations

* [JAVA-16961] Added links

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2023-01-13 20:07:27 +05:30
pedrolopes
0201897174 BAEL-5873: Check If All the Variables of a Class Are Null (#13285)
* model classes. unit tests. apache lang3 dependency.

* fix PR build
2023-01-12 18:28:36 -08:00
Thiago dos Santos Hora
59d2278aae BAEL-5959: Monad in Java (#13278)
* BAEL-5959: Monad in Java

* Fix test name
2023-01-12 18:23:34 -08:00