Commit Graph

440 Commits

Author SHA1 Message Date
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
Predrag Maric 77d4da5cd0 Merge remote-tracking branch 'origin/master' 2017-02-08 02:55:48 +01:00
Predrag Maric ec19a20ee0 Merge branch 'HEXA-672' of https://github.com/tomekl007/tutorials into tomekl007-HEXA-672 2017-02-08 02:52:37 +01:00
Andrew Morgan 5c8acbac57 Added stream removal from collection (#1131) 2017-02-07 22:12:14 +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
pivovarit 92ad8123f1 Refactor Java8GroupingByCollectorUnitTest 2017-02-07 19:32:09 +01:00
Tomasz Lelek 69bfaa557a BAEL-672 test case when one object is still referenced 2017-02-07 17:50:11 +01:00
Pedja 66065b6110 Merge remote-tracking branch 'origin/master' 2017-02-07 11:57:02 +01:00
Pedja 3559789573 BAEL-677 Small refactoring 2017-02-07 11:54:48 +01:00
Sunil Mogadati fc233b4be7 Formatting change using Baeldung formatter 2017-02-07 03:44:17 -07:00
Pedja 4ba5e3fab3 Merge branch 'foo' of https://github.com/mogronalol/tutorials into mogronalol-foo 2017-02-07 11:44:12 +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
Predrag Maric 7a77a032d0 Merge branch 'HEXA-672' of https://github.com/tomekl007/tutorials into tomekl007-HEXA-672 2017-02-07 02:25:01 +01:00
Andrew Morgan 0a444d32cf Renamed unit tests for ConcurrentModificationUnit 2017-02-06 21:55:24 +00:00
Andrew Morgan c40d6962dd Added ConcurrentModificationException test 2017-02-06 21:48:45 +00:00
pivovarit 071790b1d8 Rename ConcurrentMap tests 2017-02-06 14:05:09 +01: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
Tomasz Lelek 0f59b0d533 BAEL-672 proper image id 2017-02-05 14:13:45 +01:00
Tomasz Lelek c791bdf1dc BAEL-672 test for weakHashMap 2017-02-05 12:56:09 +01:00
pivovarit 14bee159bd Fix JavaRandomUnitTest 2017-02-05 08:55:35 +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
pivovarit 02245b75a8 Refactor PriorityBlockingQueue examples 2017-02-04 17:02:46 +01:00
adamd1985 896a193fb0 Pr/1089 (#1100)
* String to char array and char array to String.

* Method change

* Custom ThreadPool In Java 8 Parallel Streams

* Implemented suggested edits from editor.

* Broke long method signature

* Changed primitive type int to long and formula.

* Update wrapper type to Long

* Added "Test" suffix to test class name.
2017-02-04 00:25:07 +01:00
Predrag Maric 318aeb7aa3 BAEL-616 Renamed tests 2017-02-03 23:59:34 +01:00
Andrew Morgan 75860a063e Added a test class which shows the PriorityBlockingQueue being used 2017-02-02 23:16:52 +01:00
Dotun Kola-Olaleye a1312e9ce0 Custom Thread Pools In Java 8 Parallel Streams (#1088)
* String to char array and char array to String.

* Method change

* Custom ThreadPool In Java 8 Parallel Streams

* Implemented suggested edits from editor.

* Broke long method signature

* Changed primitive type int to long and formula.

* Update wrapper type to Long
2017-02-02 18:30:05 +01:00
pivovarit a312ce5e11 Refactor ThreadPoolInParallelStream 2017-02-02 07:47:06 +01:00
pedja4 5c85259243 Update README.md
Added several relevant articles
2017-02-01 09:42:32 +01:00
Dotun Kola-Olaleye e385c7409b String to char array and char array to String (#1002)
* String to char array and char array to String.

* Method change

* Custom ThreadPool In Java 8 Parallel Streams

* Implemented suggested edits from editor.

* Broke long method signature

* Changed primitive type int to long and formula.

* Update wrapper type to Long
2017-02-01 00:16:55 +01:00
Tian Baoqiang 7a10236334 add ConcurrentNavigableMap tests (#1083)
* add concurrentmap tests

* fix ConcurrentMapTests#givenConcurrentMap_whenKeyWithSameHashCode_thenPerformanceDegrades

* add ConcurrentNavigableMap tests
2017-01-31 16:54:22 +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
Tian Baoqiang c565173601 fix ConcurrentMapTests failed test (#1070)
* add concurrentmap tests

* fix ConcurrentMapTests#givenConcurrentMap_whenKeyWithSameHashCode_thenPerformanceDegrades
2017-01-29 14:32:10 +01: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
Tian Baoqiang 5d2abc9031 add concurrentmap tests (#1051) 2017-01-27 14:10:49 +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