Commit Graph

2612 Commits

Author SHA1 Message Date
Ritu Priya
684f9f01e9 BAEL-5752: Check for valid URL in java (#12836) 2022-10-13 09:47:06 +05:30
Amit Kumar
3cd075e677 Difference Between Java Enumeration and Iterator by amitkumar88265@gmail.com (#12844)
* added Enumertion and Iterator code example

* formatted the code

* formatted the code

* move code examples to other modules

* corrected the pkg name

* corrected the pkg name

* fixed compile time issue

Co-authored-by: Amit Kumatr <amit.kumar@fyndna.com>
2022-10-13 08:45:13 +05:30
mdabrowski-eu
7b5336951b BAEL-5745 Mocking InputStream (#12845) 2022-10-11 10:14:08 +02:00
Kai Yuan
08c16d7238 [collect-into-treeSet] Using Streams to Collect into a TreeSet (#12834)
* [collect-into-treeSet] Using Streams to Collect into a TreeSet

* [collect-into-treeSet] move to core-java-collections-set-2
2022-10-10 19:58:20 -05:00
Vali Tuguran
bdf66ba235 BAEL-5733 Remove readme entry. (#12848)
* Add deep vs shallow copy Java.

* Refactor sheep names.

* BAEL-5733 Add infinity in java test.

* Removed test article code.

* BAEL-5733 Refactor unit test classname.

* BAEL-5733 Remove readme entry.

* BAEL-5733 Remove readme entry.
2022-10-10 13:09:48 -07:00
Vali Tuguran
efd1d51440 BAEL-5733 Infinity in Java (#12843)
* Add deep vs shallow copy Java.

* Refactor sheep names.

* BAEL-5733 Add infinity in java test.

* Removed test article code.

* BAEL-5733 Refactor unit test classname.
2022-10-09 16:57:44 -07:00
tudormarc
4b517ba890 BAEL-5675 - variable initialization on declaration vs on constructor (#12800)
* BAEL-5675 - variable initialization on declaration vs on constructor

* moved classes under a different project
2022-10-07 07:57:45 -07:00
Loredana Crusoveanu
ca408fc307 Merge pull request #12768 from panos-kakos/JAVA-13956
[JAVA-13956] Update/Align code with article
2022-10-07 12:32:14 +03:00
panagiotiskakos
0d7b0a8c26 [JAVA-13956] Moved module to default-jdk9-and-above 2022-10-06 18:13:29 +03:00
ACHRAF TAITAI
ff4bc93f9d BAEL-5714 : Port Scanning with Java (edit after final review) (#12824) 2022-10-06 14:55:35 +02:00
Kai Yuan
71ac2bac04 [init-boolean-array] Initializing a Boolean Array in Java (#12813) 2022-10-05 22:07:04 -05:00
Asjad J
c4b8b08e72 Updated README.md
added link back to the article: https://www.baeldung.com/java-list-to-text-file
2022-10-05 15:31:31 +05:00
Asjad J
bdc3c744ac Updated README.md
added link back to the article: https://www.baeldung.com/java-set-vs-list
2022-10-05 15:24:57 +05:00
Asjad J
6e692d06ce Updated README.md
added link back to the article: https://www.baeldung.com/java-list-comma-separated-string
2022-10-05 15:20:48 +05:00
Mahn00rMalik
b2d7f7802d BAEL-5767: Writing an ArrayList of Strings into a Text File (#12783)
* Deep vs Shallow copy of an object in java

* update indentaions

* Create a BMI Caclualtor in Java

* Create a BMI Caclualtor in Java

* Delete unused packages

* BAEL-5708: Create a BMI Calculator in Java

* BAEL-5708: Create a BMI Calculator in Java

* BAEL-5767:Writing an ArrayList of Strings into a Text File

* BAEL-5767:Writing an ArrayList of Strings into a Text File

* Deleting files from core-java-io

* BAEL-5767: Writing an ArrayList of Strings into a Text File

* Removed files from core-java-11-2

* BAEL-5767:Writing an ArrayList of Strings into a Text File

* BAEL-5767:Writing an ArrayList of Strings into a Text File

* BAEL-5767:Writing an ArrayList of Strings into a Text File
2022-10-04 14:03:59 +02:00
Satyarth Shankar
0a2a7bd9fb list vs set unit test (#12807)
* BAEL-5751 test commit for checkin builds

* BAEL-5751 compiled with java 8

* BAEL-5751 small update

* BAEL-5751 added the core code

* BAEL-5751 moved code to a different module

* BAEL-5751 using assertArrayEquals

* BAEL-5751 new line at the end of file
2022-10-02 23:48:53 -07:00
Loredana Crusoveanu
3d88eddf1a Merge pull request #12796 from Asjad-J/master
Updated README.mds
2022-10-02 19:34:01 +03:00
Satyarth Shankar
21ac2f1b44 list and set difference (#12787)
* BAEL-5751 test commit for checkin builds

* BAEL-5751 compiled with java 8

* BAEL-5751 small update

* BAEL-5751 added the core code

* BAEL-5751 moved code to a different module
2022-10-01 00:19:41 -07:00
Asjad J
8c1a115806 Merge branch 'eugenp:master' into master 2022-09-30 22:39:40 +05:00
Asjad J
18701aa43d Updated README.md
added link back to the article: https://www.baeldung.com/java-validate-uuid-string
2022-09-30 19:37:22 +05:00
Asjad J
bbb110f18c Updated README.md
added link back to the article: https://www.baeldung.com/java-scanner-character-input
2022-09-30 19:33:31 +05:00
ACHRAF TAITAI
94c5bd05ca Port Scanning with Java (#12767) 2022-09-30 14:50:21 +02:00
Asjad J
c907780b2b Updated README.md
added link back to the article: https://www.baeldung.com/java-body-mass-index-calculator
2022-09-30 16:56:23 +05:00
Asjad J
9718f13da0 Updated README.md
added link back to the article: https://www.baeldung.com/java-string-concatenation
2022-09-30 16:53:15 +05:00
Asjad J
b992e8597b Updated README.md
added link back to the article: https://www.baeldung.com/java-trifunction
2022-09-30 16:46:58 +05:00
Asjad J
eef3c536ad Updated README.md
added link back to the article: https://www.baeldung.com/java-filename-full-path
2022-09-30 16:40:50 +05:00
Asjad J
6d2e18603c Updated README.md
added link back to the article: https://www.baeldung.com/java-unique-random-numbers
2022-09-30 16:33:34 +05:00
Asjad J
e8c2c940e1 Updated README.md
added link back to the article: https://www.baeldung.com/java-date-unix-timestamp
2022-09-30 16:31:39 +05:00
Bogdan Cardoş
c0658e959e BAEL-5754 Convert a List of String to a comma-separated String (#12737)
* BAEL-5617 Handle classes with the same name in Java

code samples

* BAEL-5617 Handle classes with the same name in Java

update project module

* BAEL-5754 Convert a List of String to a comma-separated String

code samples

* BAEL-5754 update unit test class name

* BAEL-5754 update unit test methods naming

* BAEL-5754 update tests order so to reflect the article
2022-09-30 10:08:08 +05:30
panagiotiskakos
98f4396948 [JAVA-13956] Update/Align code with article 2022-09-26 07:00:43 +03:00
Loredana Crusoveanu
3e0495d2f6 Delete ListOfHashMapsUnitTest.java 2022-09-24 18:28:58 +03:00
Kumar Prabhash Anand
5c99f45724 BAEL-5765 - Updating scan a char unit tests (#12751)
* BAEL-5765 Adding scan a char unit tests

* BAEL-5765 updated class name as per the convention

* BAEL-5765 updated test cases naming strategy

* BAEL-5765 updated variable name
2022-09-23 09:45:58 -07:00
AndreiMandris
44d5859215 BAEL-5692 Validate UUID String in Java (#12635)
* BAEL-5692 Validate UUID String in Java

* cleaned up the Main method

* added unit test for uuid validation

* renamed unit test method name

* formatted unit test

* removed unneeded file

* replaced gradle by maven

* removed gradle project

* moved project

* added readme file

* segregated unit tests by validator type.

* inlined the validating logic inside the unit tests

* moved the UUIDValidatorTest.java to core-java-uuid module

* renamed test

Co-authored-by: andrei-mandris <andrei.mandris.ext@deliveryhero.com>
2022-09-23 09:44:52 -07:00
collaboratewithakash
508563663d Update README.md 2022-09-23 16:48:37 +05:30
collaboratewithakash
223ee1d13b Update README.md 2022-09-23 16:39:30 +05:30
collaboratewithakash
cff5aa2333 Update README.md 2022-09-23 16:32:40 +05:30
collaboratewithakash
ff6c807d14 Update README.md 2022-09-23 16:09:05 +05:30
collaboratewithakash
7adb9752c4 Update README.md 2022-09-23 16:04:39 +05:30
collaboratewithakash
d511751aad Update README.md 2022-09-23 15:49:46 +05:30
collaboratewithakash
caae34382d Update README.md 2022-09-23 15:46:04 +05:30
collaboratewithakash
11bbbb3396 Update README.md 2022-09-23 15:28:12 +05:30
collaboratewithakash
98e6b350e2 Update README.md 2022-09-23 15:22:58 +05:30
collaboratewithakash
753e2390b1 Update README.md 2022-09-23 15:20:27 +05:30
collaboratewithakash
03f38410ef Update README.md 2022-09-23 15:18:11 +05:30
collaboratewithakash
08011c3e15 Update README.md 2022-09-23 15:06:59 +05:30
collaboratewithakash
ba0adf0361 Update README.md 2022-09-23 15:06:07 +05:30
collaboratewithakash
42614fee58 Update README.md 2022-09-23 15:05:09 +05:30
collaboratewithakash
2da16acc6a Update README.md 2022-09-23 15:02:06 +05:30
collaboratewithakash
f48a4288ac Update README.md 2022-09-23 15:01:12 +05:30
collaboratewithakash
30dca8dc0d Update README.md 2022-09-23 15:00:33 +05:30