442 Commits

Author SHA1 Message Date
slavisa-baeldung
e5597d87ce BAEL-183 - removing obsolete class 2017-02-13 01:33:02 +01:00
slavisa-baeldung
04a87a9df5 Merge branch 'master' into sla-pr/1108-junit 2017-02-13 01:21: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
Abhinab Kanrar
4b728ec65b Delete JoinerSplitterTest.java (#1160) 2017-02-12 09:10:00 +01:00
dhruba619
23696a24bd BAEL-183 Updated after review 2017-02-11 23:57:50 +05:30
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
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
dhruba619
1bf70b8f08 BAEL-183 JUnit vs TestNG 2017-02-05 00:46:21 +05:30
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
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