Commit Graph

413 Commits

Author SHA1 Message Date
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
Tomasz Lelek 350765edfc Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-614 2017-01-26 18:39:25 +01:00
Egima profile 663951d8eb refactored Comparator code in TreeMap test (#1036)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made

* added project for nio2

* standardized exception based tests

* fixed exception based tests

* removed redundant files

* added network interface project

* used UUID other than timestamps

* fixed network interface tests

* removed filetest change

* made changes to NIO2 FileTest names

* added project for asyncronous channel apis

* added project for NIO2 advanced filesystems APIS

* merge conflicts

* merged changes to asyncfiletest with future get API

* removed while loops from async client and server

* added project for java8 optional

* fixed merge conflicts in spring-core

* fixed optional

* fixed optional

* fixed asyncechotest

* shifted optional to own package

* made additional tests to demo filter API

* added code for Map

* added javaslang project

* javaslang project

* added pattern matcher code

* refactored comparator code for TreeMap

* refactored Comparator code
2017-01-25 20:22:00 +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
slavisa-baeldung d939853fe6 Merge branch 'pr/1014-stephen' 2017-01-21 08:06:57 +01:00
slavisa-baeldung 62c59c82ce BAEL-583 - minor changes 2017-01-21 08:06:30 +01:00
Andrew Morgan 65e7c7fa30 Updated test names 2017-01-20 20:48:48 +00:00
Muhammed Almas 1af04dbd85 BAEL-587 Bi map changes in test names (#1022)
* 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-587 Initial commit for BiMap support.

* BAEL-587 Added new tests

* BAEL-587 Added new tests.

* BAEL-519 Removed Disruptor link from readme file.

* BAEL-587 Reverted Disruptor changes

* BAEL-587 reverted changes

* BAEL-587 Changed test names.

* BAEL-587 renamed tests.
2017-01-20 02:12:17 -06:00
slavisa-baeldung 444c475d7c Merge branch 'master' into pr/1014-stephen 2017-01-20 08:21:36 +01:00
Naoshadul Islam 117635f955 Added relevant articles (#1021)
* Added relevant articles

* Update README.md

* Added relevant articles

* Update README.md

* Added relevant articles
2017-01-19 16:10:13 -06:00
Tomasz Lelek 49bcf8c967 BAEL-382 BlocknigQueue producer consumer program 2017-01-19 21:35:23 +01:00
Stephen Braimah 03902d2507 BAEL-583: Corrected naming for parallel stream test case 2017-01-19 09:53:56 +00:00
Stephen Braimah ff29b0ca05 BAEL-583: Added additional test case for parallel streams 2017-01-19 09:43:34 +00:00
Andrew Morgan c60c870506 BAEL-613 2017-01-18 22:53:34 +00:00
Zeger Hendrikse 056bbc02af Changed presidents for capitals in BiMap test 2017-01-17 21:26:25 +01:00
maibin 7b8bc69bae Merge pull request #1006 from sbmaggarwal/master
Added chainedexceptions in core-java
2017-01-17 18:36:42 +01:00
pivovarit 2c522ca047 Refactor IterableStreamConversionTest 2017-01-17 14:29:42 +01:00
slavisa-baeldung 543c6eeb29 BAEL-581 - reformatting 2017-01-17 11:31:13 +01:00
slavisa-baeldung a7c1fb3b72 BAEL-581 - Fixing assertions 2017-01-17 11:30:15 +01:00
slavisa-baeldung 67206a4a5c Merge pull request #1003 from dhruba619/master
BAEL-581 Convert Iterable to Stream
2017-01-17 10:45:33 +01:00
pivovarit 7f8ee6f118 Refactor LambdaExceptionWrappersTest 2017-01-17 09:04: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
dhruba619 348b3ca5ad BAEL-581 Convert Iterable to Stream 2017-01-16 22:04:47 +05:30