Commit Graph

1054 Commits

Author SHA1 Message Date
Donato Rimenti 5f83980363 BAEL 1639: added singleton examples and test. (#3977) 2018-04-21 18:51:14 +02:00
mherbaghinyan 81b9a8971e service locator pattern 2018-04-20 21:38:28 +04:00
mherbaghinyan 78a6c223eb service locator pattern 2018-04-20 10:11:59 +04:00
Adrian Precub 263009fb32 BAEL-1202: java keystore (#4011) 2018-04-18 13:21:51 +02:00
amit2103 86cebe51d7 Bael 5926 (#4023)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* Aligned and Defined the common plugins in the parents

* Removed dependency-reduced-pom.xml from undertow module

* Reverting test fail modules with surefire testFailureIgnore ture

* Reverted wrong push with org.hsqldb
2018-04-18 08:04:50 +02:00
Loredana Crusoveanu d10437c7ab ignore clear properties test 2018-04-15 14:19:50 +03:00
Loredana Crusoveanu 90e6ec20e7 add txt files 2018-04-15 10:11:45 +03:00
Loredana Crusoveanu f8e6940155 add in mem db 2018-04-15 09:35:00 +03:00
Loredana Crusoveanu 78912c3d3b replace hsql with h2 2018-04-15 09:21:07 +03:00
amit2103 0466d4613d Added parent module on poms that have no parent defined (#3997)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module
2018-04-14 10:00:05 +02:00
Senthil Kumar Subramanian b9d21e3210 BAEL-1683-Guide to Java Clock class 2018-04-12 07:42:42 +05:30
Felipe Santiago Corro d3c292a093 Array to List tests (#3960) 2018-04-11 12:50:08 -07:00
Rokon Uddin Ahmed 5da2ea995c 08.04.2018 (#3954)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md
2018-04-11 07:33:18 +02:00
KevinGilmore c2034ca7cc
Update README (#3953)
* BAEL-973: updated README

* BAEL-1069: Updated README

* BAEL-817: add README file

* BAEL-1084: README update

* BAEL-960: Update README

* BAEL-1155: updated README

* BAEL-1041: updated README

* BAEL-973: Updated README

* BAEL-1187: updated README

* BAEL-1183: Update README

* BAEL-1133: Updated README

* BAEL-1098: README update

* BAEL-719: add README.md

* BAEL-1272: README update

* BAEL-1272: README update

* BAEL-1196: Update README

* BAEL-1328: Updated README

* BAEL-1371: Update README.md

* BAEL-1371: Update README.md

* BAEL-1278: Update README

* BAEL-1326: Update README

* BAEL-399: Update README

* BAEL-1297: Update README

* BAEL-1218: README

* BAEL-1148 README update

* BAEL-113 README

* BAEL-1158 README

* BAEL-1539: Update README

* BAEL-1507 README update

* BAEL-1178 README updated

* BAEL-1462 README

* BAEL-1491 README update

* BAEL-1612: README update

* BAEL-1510: Updated README

* BAEL-1169 README

* BAEL-1598: README update
2018-04-10 09:16:10 -05:00
Loredana Crusoveanu dca0a7c474
Merge pull request #3958 from MherBaghinyan/BAEL-1638
BAEL-1638
2018-04-09 13:17:03 +03:00
mherbaghinyan 5d636bac03 move javafx code to a separate module 2018-04-08 23:20:59 +04:00
Senthil Kumar Subramanian b2dfcd9469 BAEL-1683-Guide to Java Clock class 2018-04-08 16:39:10 +05:30
Kashif Masood 13bedabb99 BAEL-1530 - Guide to java.lang.System (#3616)
* Different types of bean injection in Spring - eval

* Different types of bean injection in Spring - eval - changed to java config

* Different types of bean injection in Spring - eval - unit tests and fixes

* BAEL-1530 - Guide to java.lang.System

* removed eval article stuff

* updated unit tests: removed sysouts and unrelated stuff

* updated examples for easiness. refactoring.

* fixed typos, identified by unit tests

* broken into multiple unit tests
2018-04-07 17:35:45 +02:00
Loredana Crusoveanu a81bd92cef
Merge pull request #3894 from MherBaghinyan/BAEL-1638
Bael 1638
2018-04-04 01:04:27 +03:00
mherbaghinyan 90e6d2e19b minor changes 2018-04-04 00:05:36 +04:00
Antonio David Perez Morales ad40040852 BAEL-1531 Add class to connect to secured server (#3919) 2018-04-03 12:43:24 +02:00
Alejandro Gervasio 2ed8ad2e00 Inheritance and Composition (Is-a vs Has-a relationship) in Java - BAEL-1598 (#3871)
* Initial Commit

* Fix package names
2018-04-01 20:50:12 -05:00
raghav-jha 1de8475a99 BAEL-1576 Added implementation for finding sum in a boxed integer array (#3901) 2018-03-28 17:37:33 +01:00
KevinGilmore e0a9e4faf4
BAEL-1612 README (#3898)
* BAEL-973: updated README

* BAEL-1069: Updated README

* BAEL-817: add README file

* BAEL-1084: README update

* BAEL-960: Update README

* BAEL-1155: updated README

* BAEL-1041: updated README

* BAEL-973: Updated README

* BAEL-1187: updated README

* BAEL-1183: Update README

* BAEL-1133: Updated README

* BAEL-1098: README update

* BAEL-719: add README.md

* BAEL-1272: README update

* BAEL-1272: README update

* BAEL-1196: Update README

* BAEL-1328: Updated README

* BAEL-1371: Update README.md

* BAEL-1371: Update README.md

* BAEL-1278: Update README

* BAEL-1326: Update README

* BAEL-399: Update README

* BAEL-1297: Update README

* BAEL-1218: README

* BAEL-1148 README update

* BAEL-113 README

* BAEL-1158 README

* BAEL-1539: Update README

* BAEL-1507 README update

* BAEL-1178 README updated

* BAEL-1462 README

* BAEL-1491 README update

* BAEL-1612: README update
2018-03-27 19:58:38 -05:00
mherbaghinyan 5f90412f7c JavaFX UI 2018-03-27 10:11:05 +04:00
raghav-jha 8441d41fdc BAEL-1586 Modified logic to use forEach loop (#3879)
* BAEL-1586 Modified logic to use forEach loop

* BAEL-1586 Added Unit Test For Finding Average Given an Empty Array
2018-03-25 21:07:31 +01:00
Loredana Crusoveanu 7a77e32fe6 ignore long test 2018-03-24 21:34:44 +02:00
Loredana Crusoveanu 017dc92d50 Merge branch 'BAEL-1599-v2' of https://github.com/eugenp/tutorials into BAEL-1599-v2 2018-03-24 21:33:32 +02:00
Loredana Crusoveanu 98010d02e4 set default timezone 2018-03-24 21:27:02 +02:00
Loredana Crusoveanu 8182d49cf2
Update DaylightSavingTimeJavaTimeExamplesTest.java 2018-03-24 20:16:49 +02:00
Loredana Crusoveanu 72b2e5e984
Update DaylightSavingTimeJavaTimeExamplesTest.java 2018-03-24 17:30:49 +02:00
Loredana Crusoveanu 8e4094b84b
Update DaylightSavingTimeExamplesTest.java 2018-03-24 15:09:36 +02:00
Loredana Crusoveanu d12be45fe1 formatting 2018-03-24 10:22:40 +02:00
Loredana Crusoveanu 068a21f32a formatting, dst error 2018-03-24 10:17:26 +02:00
Loredana Crusoveanu 86e8493bbf
Merge pull request #3872 from andrea-ligios/master
BAEL-1599
2018-03-23 19:10:32 +02:00
myluckagain 2840347d60 BAEL-1612 (#3811)
* bael-1612

* line
2018-03-23 08:36:49 -05:00
andrea b07e50f46f BAEL-1599 2018-03-23 01:21:24 +01:00
mherbaghinyan c454749544 javafx main application 2018-03-22 09:20:32 +04:00
Loredana Crusoveanu e965ee4af9
Update README.md 2018-03-18 18:16:04 +02:00
Loredana Crusoveanu 747bec1208
Update README.md 2018-03-18 15:49:32 +02:00
KevinGilmore d602f66cd9
BAEL-1491 README (#3832)
* BAEL-973: updated README

* BAEL-1069: Updated README

* BAEL-817: add README file

* BAEL-1084: README update

* BAEL-960: Update README

* BAEL-1155: updated README

* BAEL-1041: updated README

* BAEL-973: Updated README

* BAEL-1187: updated README

* BAEL-1183: Update README

* BAEL-1133: Updated README

* BAEL-1098: README update

* BAEL-719: add README.md

* BAEL-1272: README update

* BAEL-1272: README update

* BAEL-1196: Update README

* BAEL-1328: Updated README

* BAEL-1371: Update README.md

* BAEL-1371: Update README.md

* BAEL-1278: Update README

* BAEL-1326: Update README

* BAEL-399: Update README

* BAEL-1297: Update README

* BAEL-1218: README

* BAEL-1148 README update

* BAEL-113 README

* BAEL-1158 README

* BAEL-1539: Update README

* BAEL-1507 README update

* BAEL-1178 README updated

* BAEL-1462 README

* BAEL-1491 README update
2018-03-17 15:24:22 -05:00
Fatos Morina 4c0a39a342 Add data structures as a separate module (#3518)
* Remove data structures from core-java

* Add data-structures

* Update README with links to articles

* Add parent module reference
2018-03-17 09:41:50 +01:00
Loredana Crusoveanu b40108d91e move plugin file 2018-03-16 22:13:31 +02:00
Mher Baghinyan 24acf35bce Bael 1611 (#3799)
* Externalizable test

* Guide to Externalizable interface +tests

* serialize Community
2018-03-15 10:08:37 +01:00
Andrea b832ed0af8 Merge remote-tracking branch 'upstream/master' 2018-03-11 21:54:59 +01:00
andrea c5ac4b4bba BAEL-1599 2018-03-11 21:35:00 +01:00
Jonathan f50d111c5e BAEL-1068 (#3456)
* BAEL-1068 - Javadoc example classes

* BAEL-1068 - Formatting change for pom.xml

* Updated javadoc comments to reflect article example

* Added javadoc tags for throws, deprecated, and version and a clause to throw an exception
2018-03-11 19:18:35 +01:00
Tarang Bhalodia 00c022388f BAEL-1524: Chain of Responsibility Design Pattern in Java (#3780)
* BAEL-1422: measure performance of Random and ThreadLocalRandom using JMH

* BAEL-1422: updated benchmarking examples of Random and ThreadLocalRandom to use newWorkStealingPool that leverages ForkJoinPool

* BAEL-1422: refactored benchmarking examples for comparing performance of ThreadLocalRandom and Random
- initialised the collection of Callable before running benchmarking
- removed for loop for submitting task and instead used executor.invokeAll(collection_of_callable)

* BAEL-1282: added TDD type junit tests for geospatial queries elasticsearch

* BAEL-1524: added example for chain of responsibility design pattern

* BAEL-1524: added BDD style jUnit test to test unknown handler in ChainOfResponsibility design pattern

* BAEL-1524: refactored ChainOfResponsibility design pattern example

* BAEL-1524: refactored ChainOfResponsibility design pattern example

* BAEL-1524: updated ChainOfResponsibility design pattern example

* BAEL-1524: updated ChainOfResponsibility design pattern example

* BAEL-1524: moved chain of responsibility example from core-java module to patterns module
2018-03-08 07:45:48 -07:00
raghav-jha 4526bb6add BAEL-1586 Sum and Average in Java Array (#3718)
* Evaluation Article

* CR comments resolved

* BAEL-1586 Find Sum and Average in Java Array

* Revert "CR comments resolved"

This reverts commit c9bf88fcd58773d3df34e2a6cb4db44c3b54777d.

* Revert "Evaluation Article"

This reverts commit 41ad30313ab2c454350b5accdee531dba80e7ea9.

* BAEL-1586 Removed Author Description

* BAEL-1586 Find Sum And Avergae In Array

* remove excess whitespace
2018-03-07 15:59:50 +00:00
myluckagain 103e6b69fa Bael-1604 (#3765)
* BAEL-1604

* BAEL-1604
2018-03-05 14:21:48 +01:00
Tom Hombergs 029e160156 added link to article (#3768) 2018-03-04 20:34:17 +01:00
Eugen Paraschiv 7cc57756e1 testing work 2018-03-04 17:28:06 +02:00
Eugen Paraschiv 535656eeb5 testing work 2018-03-04 17:17:57 +02:00
ocheja 25a118deb3 Implement examples for ASCII Art in Java (#3753) 2018-03-03 08:42:05 -08:00
Rokon Uddin Ahmed c10cb80823 02.03 (#3747)
* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2018-03-02 18:40:04 +02:00
Tom Hombergs 5c181c4b72
Merge pull request #3739 from nguyennamthai/BAEL-1537
Second commit for TDD List implementation
2018-02-28 19:59:17 +01:00
Nguyen Nam Thai c7e0852449 Second commit for TDD List implementation 2018-02-27 08:55:16 +07:00
KevinGilmore 30285c1c18
BAEL-1507 README (#3735)
* BAEL-973: updated README

* BAEL-1069: Updated README

* BAEL-817: add README file

* BAEL-1084: README update

* BAEL-960: Update README

* BAEL-1155: updated README

* BAEL-1041: updated README

* BAEL-973: Updated README

* BAEL-1187: updated README

* BAEL-1183: Update README

* BAEL-1133: Updated README

* BAEL-1098: README update

* BAEL-719: add README.md

* BAEL-1272: README update

* BAEL-1272: README update

* BAEL-1196: Update README

* BAEL-1328: Updated README

* BAEL-1371: Update README.md

* BAEL-1371: Update README.md

* BAEL-1278: Update README

* BAEL-1326: Update README

* BAEL-399: Update README

* BAEL-1297: Update README

* BAEL-1218: README

* BAEL-1148 README update

* BAEL-113 README

* BAEL-1158 README

* BAEL-1539: Update README

* BAEL-1507 README update
2018-02-26 19:39:11 -06:00
Shouvik Bhattacharya 1f27c9ded7 BAEL-1534: Detect the OS from Java (#3636)
* BAEL-1534: Mini-article completed.

* BAEL-1534: Changes incorporated.

* BAEL-1534: Changes incorporated.

* BAEL-1534: Changes incorporated.

* BAEL-1534: Changes incorporated.
2018-02-26 07:13:27 +01:00
MalaguptaBaeldung e789eaa9ae
Source code (test) - Guide to Inheritance in Java 2018-02-25 08:08:12 -08:00
MalaguptaBaeldung dffe5cb81d
Source code - Guide to inheritance in Java 2018-02-25 08:06:50 -08:00
José Carlos Valero Sánchez 83d5f6a485
Merge pull request #3589 from raksha-rao/BAEL-1540-classloader
Bael 1540 classloader
2018-02-24 13:50:01 +01:00
Donato Rimenti 9371794370 Bael 1496 flyweight (#3598)
* Added flyweight pattern example.

* Refactored VehicleFactory to use computeIfAbsent method.
2018-02-24 08:21:36 +01:00
Tom Hombergs bfdc1713a7 added article link (#3586) 2018-02-24 08:19:12 +01:00
linhvovn 058525f68b [tlinh2110@gmail.com] BAEL1377 - Recursion in Java (#3130)
* [tlinh2110@gmail.com] BAEL1377 - Recursion in Java

* [BAEL1377] Remove unused method

* [tlinh2110@gmail.com] Add sum method

* [tlinh2110@gmail.com] Add example for iterative approach
2018-02-24 08:11:23 +01:00
xenteros 327719e1bb Add complete codes for an article about deep copy (#3610)
* Add complete codes for an article about deep copy

* Add missing gson dependency

* Apply changes suggested in PR comments

* Apply changes suggested in PR comments

* Apply changes suggested in PR comments
2018-02-22 21:07:12 -06:00
Patryk 378cae0821 [BAEL-1536] A Guide to the Resource Bundle (#3602)
* [BAEL-1536] A Guide to the Resource Bundle

The essential code for the article

* [BAEL-1536] A Guide to the Resource Bundle #2

The essential code for the article after the first article review.

* [BAEL-1536] A Guide to the Resource Bundle #3

Essential changes after the second review.

* [BAEL-1536] A Guide to the Resource Bundle #4

Essential changes after the second review:
- Doubles to BigDecimals
2018-02-22 20:45:27 +00:00
Tarang Bhalodia a243d8494d BAEL-1524: Chain of Responsibility Design Pattern in Java (#3573)
* BAEL-1422: measure performance of Random and ThreadLocalRandom using JMH

* BAEL-1422: updated benchmarking examples of Random and ThreadLocalRandom to use newWorkStealingPool that leverages ForkJoinPool

* BAEL-1422: refactored benchmarking examples for comparing performance of ThreadLocalRandom and Random
- initialised the collection of Callable before running benchmarking
- removed for loop for submitting task and instead used executor.invokeAll(collection_of_callable)

* BAEL-1282: added TDD type junit tests for geospatial queries elasticsearch

* BAEL-1524: added example for chain of responsibility design pattern

* BAEL-1524: added BDD style jUnit test to test unknown handler in ChainOfResponsibility design pattern

* BAEL-1524: refactored ChainOfResponsibility design pattern example

* BAEL-1524: refactored ChainOfResponsibility design pattern example

* BAEL-1524: updated ChainOfResponsibility design pattern example

* BAEL-1524: updated ChainOfResponsibility design pattern example
2018-02-19 17:49:48 +01:00
myluckagain fe97d98c30 BAEL-1553 (#3679) 2018-02-19 01:30:31 +01:00
Tom Hombergs 62c1a46b01
Merge pull request #3663 from nguyennamthai/BAEL-1537
Initial commit for List TDD
2018-02-18 22:29:40 +01:00
Raksha Rao 12a311083c Custom class loader example 2018-02-19 01:50:24 +05:30
Loredana Crusoveanu 476ed301f6 rename vars 2018-02-18 13:59:42 +02:00
Loredana Crusoveanu 544cd5253c
Merge pull request #3688 from harshjain25/BAEL-1526-string-comparison
BAEL-1526 : Comparing strings in Java
2018-02-18 13:50:41 +02:00
Harsh Jain 5aa81d9be3 BAEL-1526 : added exmaple unit test cases for string comparison 2018-02-18 12:19:44 +05:30
Nguyen Nam Thai 7debccf695 Fix a test 2018-02-18 11:08:00 +07:00
Nguyen Nam Thai c1787cc07a Change the test method names 2018-02-18 11:05:00 +07:00
Andrea Ligios 2a127b3df3 . (#3687) 2018-02-17 12:40:01 -08:00
andrea b63caab397 . 2018-02-17 18:30:36 +01:00
Nam Thai Nguyen 08d53a2cbb Change the names of test methods 2018-02-17 11:45:03 +07:00
Nam Thai Nguyen a67d99a09a Initial commit for List TDD 2018-02-14 17:10:18 +07:00
Alejandro Gervasio 4f6988b134 Method Overloading and Overriding in Java - BAEL-1507 (#3621)
* Initial Commit

* Update Multiplier.java

* Refactored MethodOverridingUnitTest class

* Update Car.java

* Update Vehicle.java

* Update MethodOverridingUnitTest.java

* Update MethodOverridingUnitTest.java

* Fix package names
2018-02-13 21:08:31 -06:00
Shouvik Bhattacharya 4d64a12271 BAEL-1525: Review comments incorporated. (#3639) 2018-02-12 05:58:06 +01:00
Loredana Crusoveanu 7c6a4b0b4d
Update Palindrome.java 2018-02-10 18:48:41 +02:00
Loredana Crusoveanu 4c044fcaee remove imports 2018-02-10 17:45:01 +02:00
Loredana Crusoveanu 50deec5b5c refactor streams ex 2018-02-10 17:42:52 +02:00
shouvikbhattacharya 9d9045f130 BAEL-1525: New changes added. 2018-02-08 21:04:46 +05:30
shouvikbhattacharya 6887bc10d1 BAEL-1525: More changes. 2018-02-07 20:29:35 +05:30
shouvikbhattacharya 604f5b1535 Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-1525-Check-if-a-String-is-a-palindrome 2018-02-06 20:15:32 +05:30
Raksha Rao 20b8dbffc4 sample class loader 2018-02-05 15:45:51 +05:30
Raksha Rao 2f31b4a8cc classloader example 2018-02-05 11:09:34 +05:30
shouvikbhattacharya 581e8592ae BAEL-1525: Article code completed. 2018-02-04 18:22:17 +05:30
Nam Thai Nguyen 53bb927610 Modifies the Data class 2018-02-03 20:21:46 +07:00
myluckagain 55660e7702 BAEL-1497 (#3568) 2018-02-01 23:17:53 +01:00
Nam Thai Nguyen be90e9870c Initial commit for BAEL-1500 2018-01-29 17:02:48 +07:00
Tom Hombergs 211c8a0c30
added link to finalize article 2018-01-25 22:06:00 +01:00
Nam Thai Nguyen 7e6cb22c7d Merge branch 'master' into BAEL-1479 2018-01-21 23:39:47 +07:00
Nam Thai Nguyen 30321eb801 initial commit for the BAEL-1479 2018-01-21 23:37:11 +07:00
Grzegorz Piwowarek 7bd1fbf734
Refactor Trie (#3469) 2018-01-20 15:05:41 +01:00
Grzegorz Piwowarek 0293c65f77
Trie Examples (#3466)
* Implement Trie

* Implement TrieTest

* Delete testDelete method

* Refactorings

* Refactor Trie

* Refactor TrieNode

* Refactor Trie
2018-01-20 11:54:24 +01:00
Rokon Uddin Ahmed c3e8ba4a70 Pull request 17.01 (#3442)
* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md
2018-01-17 21:53:17 +01:00