Commit Graph

906 Commits

Author SHA1 Message Date
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
Doha2012 bff36974cd create core-java-io module (#3397)
* make sure modules using java8

* move url matching code

* upgrade boot parent

* minor cleanup

* fix blocking tests

* add core-java-io module
2018-01-12 15:30:30 +01:00
Sirish Renukumar f7edd9b594 Static class example (review comments addressed) 2018-01-10 19:27:36 +05:30
daoire 92d256c7fd
Update README 2018-01-08 17:27:04 +00:00
Igor Kugaudo fd9d956be3 BAEL-1351 RegEx for matching Date Pattern in Java (#3217)
* kugaudo/igor@kugaudo.com

* BAEL-1351 RegEx for matching Date Pattern in Java

* BAEL-1351 RegEx for matching Date Pattern in Java

* BAEL-1351 RegEx for matching Date Pattern in Java

* Fixed names of test methods

* Refactored class names, split unit tests by classes

* Reordered test cases in Gregorian date matcher unit test, formatted code

* Added override annotation

* Renamed mather main method for better semantics

* Fixed names of test methods

* Split Gregorian date matcher to separate branches

* Fixed test cases according to the article

* Revert "Merge branch 'master' into datepattern"

This reverts commit 0d57456140bc9e1f36d32b3e707acd2729b2c60f, reversing
changes made to c768132dcd24d4312567298f34c67cb31dcde9f8.
2018-01-08 17:24:28 +00:00
hugosama1 92789f9ae6 Guidetoiterator (#3368)
* Added code for iterator

* missing imports..
2018-01-08 17:22:36 +01:00
Jonathan 8108875723 BAEL-1068 (#3070)
* BAEL-1068 - Javadoc example classes

* BAEL-1068 - Formatting change for pom.xml

* Updated javadoc comments to reflect article example
2018-01-06 18:01:49 +01:00
Loredana Crusoveanu bcae968f99
Update README.md 2018-01-06 18:43:48 +02:00
Loredana Crusoveanu ce005f70f0
Merge branch 'master' into lor6-patch-8 2018-01-06 12:01:51 +02:00
Loredana Crusoveanu 7674ec43be
Update README.md 2018-01-06 11:35:44 +02:00
Loredana Crusoveanu 93273366dc
Update README.md 2018-01-06 11:28:35 +02:00
Loredana Crusoveanu 749533e14d fix start instead of run (#3353) 2018-01-05 19:18:24 +01:00
Tarang Bhalodia e039960365 BAEL-1422: Guide to ThreadLocalRandom [tarangbhalodia@gmail.com] (#3347)
* 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)
2018-01-04 21:58:04 +02:00
Tarang Bhalodia 12a1924cb3 BAEL-1422: added BDD style test for asserting UnsupportedOperationException while setting seed for ThreadLocalRandom 2018-01-02 23:47:39 +05:30
Tarang Bhalodia 036fabc9f7 BAEL-1422: added BDD style tests for generating random values using ThreadLocalRandom 2018-01-02 22:38:50 +05:30
Loredana Crusoveanu 5374dbb96c
Merge pull request #3314 from eugenp/pivovarit-patch-3
Update BinaryTree.java
2017-12-28 16:33:24 +02:00
Doha2012 962dfd228f make sure modules using java8 (#3313) 2017-12-28 15:30:01 +01:00
Grzegorz Piwowarek 7b797ff97a
Update BinaryTree.java 2017-12-28 13:45:03 +01:00
Marcos Lopez Gonzalez 5e25e2c3ea BAEL -1339 Implement a binary tree in Java (#3301)
* edge cases binary tree

* code cleanup
2017-12-28 13:16:38 +01:00
Loredana Crusoveanu ef97c8aa0b
Update README.md 2017-12-28 01:11:30 +02:00
KevinGilmore 546cc0742e
1371 README (#3297)
* 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
2017-12-25 22:13:39 -06:00
Loredana Crusoveanu 5be2f5c28f
Merge branch 'master' into lor6-patch-6 2017-12-24 20:29:22 +02:00
KevinGilmore 79125b1f20
BAEL-1328 README (#3290)
* 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
2017-12-24 11:50:17 -06:00
Loredana Crusoveanu a1afa983d3
Update README.md 2017-12-24 19:50:07 +02:00
Loredana Crusoveanu b18c4deb3f remove extra serialization ex 2017-12-23 22:36:56 +02:00
Loredana Crusoveanu cc39f18d21
Merge pull request #3208 from Ahmad-alsanie/master
BAEL-1329 A Guide to Java Initialization
2017-12-23 22:28:30 +02:00
Victor Ikoro 52edd46c0a BAEL-1371 - Guide to Cipher class (#3150)
* Bean Injection Types

* Bean Injection Types

* Bean Injection Types

* Bean Injection Types -  Added / Fixed tests

* BAEL-1371 Encryptor class

* BAEL-1371 Modified Encryptor class, added encryptor test

* BAEL-1371 Modified Encryptor class, added encryptor test

* BAEL-1371 removed spring core files

* BAEL-1371 Update test, new line for "when" and "then" logic

* BAEL-1371 Fixed tests

* BAEL-1371 cleanup and assertj assertions
2017-12-21 21:39:55 -06:00
Shouvik Bhattacharya d14cc42306 BAEL-1438: TreeMap vs HashMap (#3265)
* BAEL-1438: Final code.

* BAEL-1438: Temporary commit.

* BAEL-1438: New Changes.

* BAEL-1438: New test case to support Java 8 features.
2017-12-21 08:44:27 -08:00
André Thiago 2bff7a623e BAEL-1328 Solving conflcts and applying code formatter. (#3273)
* BAEL-1328 How to Invert an Array in Java

* Removing code from evaluation article.

* BAEL-1328
Adjusting spaces and implement inversion with commons lang3 and guava.

* BAEL-1328 Renaming unit test class; using AssertJ.

* BAEL-1328 Change to use rangeClosed.

* BAEL-1326 Solving conflicts and apply code formatting.
2017-12-21 09:06:58 -06:00
daoire 2cbd44df83
Update README.md 2017-12-19 19:03:15 +00:00
Binesh Narayanan 94ace2eda8 BAEL-1348 | BatchProcessing example using jdbc (#3216)
* BAEL-EVAL | Adding an example to demo Bean Injection

### Changes done
A Spring boot app to demo bean injection

* Adding @Autowired for Constructor Injection

* BAEL-EVAL | Correcting the method name

* BAEL-EVAL

* BAEL-1348 | Adding example of Batch Processing in JDBC

### Changes done
- Added one example using statement
- Added one example using preparedstatement

* Removing evaluation article

* BAEL-1348 | Adding example of Batch Processing in JDBC

### Changes done
- Added an example using statement
- Added an example using preparedstatement

* BAEL-1348 | BatchProcessing example using jdbc

### Changes done
- Add example using statement
- Add example using PreparedStatement
- Add Unit Tests

* BAEL-1348 | Changes to pom.xml and refactoring UnitTest

* BAEL-1348 | Removing the example using spring-boot
2017-12-19 07:37:35 +01:00
Carsten Gräf 617c2ffdba
Merge pull request #3257 from shouvikbhattacharya/BAEL-1433
BAEL-1433: Guide to TreeSet in Java
2017-12-18 06:50:12 +01:00
Loredana Crusoveanu 925297c60f
Merge pull request #3253 from asturcon/tutorials/binaryTreeJava
BAEL-1339 - Implementing a binary tree in Java
2017-12-16 20:21:01 +02:00
shouvikbhattacharya 6b323c45cc BAEL-1433: Minor changes. 2017-12-16 21:28:03 +05:30
Pazis a5f78cf7d5 BAEL-1308 - Copy a File with Java (#3000)
* Create Student.java

* Create ApplicationContextTestBeanInjection.java

* Update Student.java

* added tests

added tests

* BAEL-1308

part 1

* Create test_stream.txt

* Create test_files.txt

* Create test_channel.txt

* Create test_apache.txt

* Create test.txt

* Delete test.txt

* Create readme.txt

* Delete Student.java

* Delete StudentInjectionTest.java

* Delete ApplicationContextTestBeanInjection.java
2017-12-16 13:18:09 +01:00
Carsten Gräf 1d73d59d93
Merge pull request #3243 from shouvikbhattacharya/BAEL-1433
Bael 1433: Guide to TreeSet in Java
2017-12-16 12:47:39 +01:00
Marcos 959845621f refactor 2017-12-16 12:37:30 +01:00
Marcos 7acbc7902d recursived deletion binary tree 2017-12-16 12:33:50 +01:00
Loredana Crusoveanu 4ae33ebdf8
Merge pull request #3254 from egoebelbecker/master
BAEL-1374 -reuse search array
2017-12-16 08:13:55 +02:00
ericgoebelbecker e20d477733 BAEL-1374 - reuse array 2017-12-15 18:58:37 -05:00
Marcos 9ead70be1b var renamed 2017-12-15 20:42:56 +01:00
Marcos 1fa5e1a8e3 Merge remote-tracking branch 'upstream/master' into tutorials/binaryTreeJava 2017-12-15 20:27:41 +01:00
Marcos 15bc324430 binary tree changed to follow a recursive approach 2017-12-15 20:26:16 +01:00
ericgoebelbecker 6809155a91 BAEL-1374 - same search in each loop. 2017-12-15 13:19:43 -05:00
ocheja 171d28a9d1 Remove verbose file info content (#3238)
* Define beans for handling different message types in a lean chat app

* Add class based spring beans configuration

* Define spring configuration in XML for constructor based bean injection

* Refactor package structure to separate constructor based bean injection code set from setter based bean injection code set

* Define configuration and classes specific to setter-based bean injection.

* Implement tests for constructor-based and setter-based bean injections

* develop codes for explaining type erasure

* Write unit tests for type erasure examples

* Remove evaluation article code

* Modify type erasure examples and unit tests

* Modify type erasure examples and unit tests

* Add expected exception in TypeErasureUnitTest

* Correct grammar in class name

* Implement File Manager app to demonstrate Polymorphism. Develop unit tests for Polymorphism article code

* Add examples for static polymorphism

* Change sysout statments to slf4j log info statements

* Add assertions and expected errors check on Test

* Add assertions and expected errors check on Test

* Correct compile time error of symbol not found

* Removed commented out non-compiling test.

* Replace string concatenations with String.format

* Replace string concatenations with String.format

* Remove verbose file info descriptor and replace with simpler one
2017-12-14 23:06:41 +01:00
shouvikbhattacharya ef4b560965 BAEL-1433: Article complete pushing final code. 2017-12-14 22:14:58 +05:30
shouvikbhattacharya 0d07e421ff BAEL-1433: Commit changes for treeset article. 2017-12-14 20:15:00 +05:30
Loredana Crusoveanu 647d83cb24
Merge pull request #3218 from egoebelbecker/master
BAEL-1374 - move JMH settings to class-level annotations.
2017-12-12 10:01:36 +02:00
Rokon Uddin Ahmed b59226a68c 12.12 (#3219)
* Create 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

* Update README.md

* Update README.md

* Create README.md

* Update README.MD

* Create README.md

* Update readme.md

* Update README.md

* Update README.md

* Update README.md
2017-12-12 07:32:35 +01:00