128 Commits

Author SHA1 Message Date
maibin
f0c4486cb1 Ant Colony Optimization updates (#1306)
* Ant Colony Optimization

* Updated code for Ant Colony
2017-03-05 19:21:35 +01:00
slavisa-baeldung
2665636c96 Merge remote-tracking branch 'origin/master' into sla-pr/1284-jesus 2017-03-03 06:57:17 +01:00
root
bb1b9c4ca4 Java Money & Currency 2017-02-27 15:13:19 -04:00
maibin
29882a1f06 Ant Colony Optimization (#1237) 2017-02-27 12:59:20 -06:00
Muhammet Oğuz ÖZCAN
325466a782 Master (#1250)
* Bean Injection Project is added

Different Types of Bean Injection article codes are added.

* Java-based configuration added

Java-based configuration and tests are added. Coding styles are fixed.

* List of Lists Article Codes added.

List of Lists Article Codes added.
2017-02-26 18:53:32 +01:00
baljeet20
db5dc24fdb BAEL-700 Guide to Java Lock API (#1239)
* BAEL-604 Introduction to apache velocity

* BAEL-604 Introduction to apache velocity

* BAEL-700 Guide to Java Lock APIs

* BAEL-700 Guide to Java Lock APIs
2017-02-26 09:21:59 +01:00
root
fc570b9e2e JSR-354 Java Money & Currency 2017-02-22 11:59:50 -04:00
Mohd Farid
cc089e5297 BAEL-668 find min/max from a list/collection (#1134)
* BAEL-668 find min/max from a list/collection

* BAEL-668 using mapToInt instead of Compare

* BAEL-668 using direct assertion with the method call
2017-02-15 07:36:04 +01:00
Danil Kornishev
dd40ed7025 Neo4j moved (#1152)
* Neo4j cleanup

* Neo4j cleanup

* Neo4j cleanup x2
2017-02-14 21:44:45 +01:00
Tomasz Lelek
f772286896 BAEL-669 test of an infinite stream (#1126)
* BAEL-669 test of an infinite stream

* BAEL-699 example of custom type infinite stream

* BAEL-699 do..while stream way

* BAEL-669 generate stream of random uuids
2017-02-12 11:22:25 +02:00
Abhinab Kanrar
4aaefd39df changing package structure (#1157)
* rest with spark java

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

* testcase change
2017-02-12 09:50:49 +01:00
Abhinab Kanrar
25dc6bc81c Delete JoinerSplitter.java (#1161) 2017-02-12 09:11:25 +01:00
pivovarit
5218116a80 Reformat JoinerSplitter 2017-02-11 18:40:14 +01:00
Abhinab Kanrar
c670ac9166 adding more functionality in split/join, added chars() usage (#1155)
* rest with spark java

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality
2017-02-11 16:29:57 +01:00
maibin
c95097e294 Simple Genetic Algorithms improvements (#1146)
* Modifications to model on Hibernate One to manyTutorial

* Modifications to model on Hibernate One to manyTutorial

* Modifications to model on Hibernate One to manyTutorial

* Simple Genetic Algorithm improvements
2017-02-09 18:25:40 -06:00
Abhinab Kanrar
7aa774352d Joining/Splitting Strings with Java and Stream API (#1130)
* rest with spark java

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API
2017-02-08 16:46:10 +01:00
Danil Kornishev
a9d8c5f3a3 Introduction to Neo4j (#1098)
* Nashorn

* Nashorn x2

* Nashorn added trailing newlines

* Cleanup

* Formatted script lines

* Change system outs to asserts

* Change Nashorn to be Junit tests

* Remove empty test

* Added Neo4j section

* Revert NashornTest
2017-02-07 20:34:10 +01:00
Tryfon
c13453d772 Java 8 grouping by collector pull request (#1102)
* Char array to string and string to char array test cases added

* Minor code renames

* Added groupingBy collector unit tests

* Added test case for int summary calculation on grouped results

* Added the grouping by classes to the main source path

* Reverting char array to string test class

* Reverting char array to string test class

* Reverting char array to string test class

* Reverting char array to string test class
2017-02-07 03:36:06 -07:00
pivovarit
13f2eef879 Fix Discounter examples 2017-02-06 09:08:13 +01:00
pivovarit
77f1a97e8f Refactor Discounter examples 2017-02-06 08:11:02 +01:00
Andrew Morgan
daf7af813c Implemented strategy pattern tutorial (#1110) 2017-02-06 07:51:56 +01:00
eugenp
791142c67e cleanup and testing work 2017-02-04 21:56:11 +02:00
maibin
ffd17c1b21 Fix the Hibernate4 issues (#1106)
* Binary genetic algorithm

* Fix the junit tests conflict
2017-02-04 18:47:30 +01:00
Felipe Reis
8f7559df5e BAEL-612: used lambda instead of anonymous class 2017-01-30 15:14:50 -02:00
eugenp
034cde6e20 formatting work 2017-01-29 16:03:33 +02:00
Predrag Maric
d38930100d BAEL-614 Fixed compilation error in NumbersProducer 2017-01-29 11:55:53 +01:00
Tomasz Lelek
afa9292544 Merge branch 'master' into BAEL-614 2017-01-29 11:43:17 +01:00
Tomasz Lelek
0639b2cd6f BAEL-614 thread local random 2017-01-28 10:49:35 +01:00
Tomasz Lelek
2c0494dd03 BAEL-614 introduced poison pill message to stop our producers form run indefinitely 2017-01-28 10:45:57 +01:00
pedja4
a722a46373 Merge pull request #1061 from felipe-gdr/master
BAEL-612: Guide to java.util.concurrent.Future
2017-01-28 08:39:34 +01:00
Felipe Reis
c0756273ca BAEL-612: Example usage of ForkJoinTask 2017-01-27 18:23:23 -02:00
Felipe Reis
f36d7f1ac2 BAEL-612: Single and multi threaded Future usage. 2017-01-27 18:23:11 -02:00
pivovarit
5f89c098bd Merge remote-tracking branch 'origin/master' 2017-01-27 17:48:31 +01:00
pivovarit
abb541bfba Fix Worker.java 2017-01-27 17:48:22 +01:00
Pedja
fb61d1b187 BAEL-614 Changed to use ThreadLocalRandom instead of Random 2017-01-27 12:24:31 +01:00
Pedja
4ff894095c BAEL-614 Added "public" to class definitions; Formatted code 2017-01-27 11:52:17 +01:00
Tomasz Lelek
c9a1fb1b39 BAEL-614 move to proper package, move inner classes to separate classes 2017-01-26 18:41:29 +01:00
Tomasz Lelek
350765edfc Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-614 2017-01-26 18:39:25 +01:00
Tomasz Lelek
ea7e3db154 BAEL-614 remove println 2017-01-25 19:10:49 +01:00
Tomasz Lelek
5013f7be99 BAEL-614 without a fibonacci 2017-01-25 19:07:48 +01:00
pedja4
3793b32dee Merge pull request #1012 from mogronalol/master
BAEL-613 CountDownLatch
2017-01-25 11:46:22 +01:00
Andrew Morgan
21649ab375 BAEL-613 - Added workers which wait for all other workers to start 2017-01-21 20:51:50 +00:00
Muhammed Almas
f7236b301b BAEL-519 Disruptor in its own module. (#1017)
* BAL-36 File size api in java and apache commons IO

* BAEL-282 grep in java - fixes after code review

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor

* BAEL-519 Moved all supporting classes to main source

* BAEL-519 Moved all supporting classes to main source

* BAEL-519 Moved asserts and test classes in test folder.

* BAEL-519 moved test related producer and consumer to src.

* BAEL-586 Guide to Guava BiMap.

* BAEL-587 formatted code.

* BAEL-519 LMAX Disruptor

* BAEL-587 resolved merge

* BAEL-587 Resolved merge

* BAEL-519 Removed disruptor link.

* BAEL-519 Reverted Guava changes

* RFQ-587 Added disruptor as a separate module.

* BAEL-519 Disruptor changes.

* BAEL-519 Removed disruptor from core-java module.
2017-01-21 06:51:04 -06:00
Tomasz Lelek
49bcf8c967 BAEL-382 BlocknigQueue producer consumer program 2017-01-19 21:35:23 +01:00
Andrew Morgan
c60c870506 BAEL-613 2017-01-18 22:53:34 +00:00
maibin
7b8bc69bae Merge pull request #1006 from sbmaggarwal/master
Added chainedexceptions in core-java
2017-01-17 18:36:42 +01:00
Vivek Kumar
0aa46996a6 BAEL-580 handling exceptions in lambda expressions (#1004) 2017-01-17 09:01:59 +01:00
Shubham Aggarwal
b2a03d92aa Added chainedexceptions in core-java 2017-01-17 11:04:00 +05:30
Muhammed Almas
a8d61e77dd BAEL-519 Introduction to LMAX Disruptor (#948)
* BAL-36 File size api in java and apache commons IO

* BAEL-282 grep in java - fixes after code review

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor

* BAEL-519 Moved all supporting classes to main source

* BAEL-519 Moved all supporting classes to main source

* BAEL-519 Moved asserts and test classes in test folder.

* BAEL-519 moved test related producer and consumer to src.

* BAEL-586 Guide to Guava BiMap.

* BAEL-587 formatted code.

* BAEL-519 LMAX Disruptor

* BAEL-587 resolved merge

* BAEL-587 Resolved merge

* BAEL-519 Removed disruptor link.

* BAEL-519 Reverted Guava changes
2017-01-15 19:48:42 +01:00
Danil Kornishev
fbb4065024 Nashorn second Attempt (#923)
* Nashorn

* Nashorn x2

* Nashorn added trailing newlines

* Cleanup

* Formatted script lines

* Change system outs to asserts

* Change Nashorn to be Junit tests

* Remove empty test
2017-01-06 15:20:47 +01:00