Commit Graph

440 Commits

Author SHA1 Message Date
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
MMonik 142173dea1 Merge pull request #1000 from vaNaoshad/master
Added relevant articles
2017-01-16 09:28:26 +02:00
Muhammed Almas d5acd709e1 BAEL-587 Guide to Bimap (#995)
* 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
2017-01-15 21:45:46 +01:00
slavisa-baeldung 666803cf60 Merge remote-tracking branch 'origin/master' 2017-01-15 19:54:54 +01:00
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
Naoshadul Islam f528fbf7cf Added relevant articles 2017-01-15 21:05:01 +06:00
slavisa-baeldung d77ca20ff2 BAEL-583 - adding asserts to test 2017-01-15 15:15:11 +01:00
slavisa-baeldung dabdd5d397 Merge branch 'master' into pr/997-stephen 2017-01-15 15:08:31 +01:00
pivovarit 5a6eaeb1d2 Refactor InputStreamToFile examples 2017-01-15 09:27:07 +01:00
Stephen Braimah 4119fc9c23 BAEL-583: Removed print statements and added assertments to test class 2017-01-14 23:24:11 +00:00
Stephen Braimah 016d02ab17 BAEL-583: Added test class for Java 8 findFirst() and findAny() example 2017-01-11 22:10:56 +00:00
Stephen Braimah 3116a73d24 Revert: added to test class for string to char array char array to string conversion 2017-01-11 21:55:15 +00:00
Stephen Braimah de446f5443 Revert: added test class Java8FindAnyFindFirstTest 2017-01-11 21:54:53 +00:00
Stephen Braimah 2710fadcd5 added test class Java8FindAnyFindFirstTest 2017-01-11 18:58:44 +00:00
Naoshadul Islam 8dc3487b67 Added relevant articles (#962)
* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevnat articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Update README.md

* Added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Update README.md

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Update README.md
2017-01-08 08:25:59 +01:00
pivovarit 638b6090f0 Refactor NashornTest 2017-01-06 16:43:46 +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
Stephen Braimah ac84f1b303 updated StringCharArrayConversionTest class method names to follow BDD naming conventions 2017-01-03 14:53:51 +00:00
Stephen Braimah b6bb1e18d4 added to test class for string to char array char array to string conversion 2017-01-03 09:02:30 +00:00
pivovarit 12966e0f08 Reformat Java8CollectorsUnitTest.java 2017-01-01 13:21:32 +01:00
Ravi-ronic 4a96076ecf BAEL-538 Basic introduction to JMX technology (#937)
wordpress link http://inprogress.baeldung.com/wp-admin/post.php?post=27628&action=edit
2016-12-29 03:00:03 -06:00
maibin ed89b85f18 Slope One refactoring (#926)
* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase

* SA further fixes

* Slope One plus package refactoring

* SlopeOne refactoring
2016-12-26 21:21:17 +01:00
Saptarshi Basu 428bfcc8f2 WatchService vs. Apache Commons IO Mnitoring (#921)
* WatchService vs. Apache Commons IO Mnitoring

* Indentation fixed
2016-12-24 13:44:35 -06:00
maibin 1a17166d36 Slope One Algorithm (#917)
* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase

* SA further fixes

* Slope One plus package refactoring
2016-12-23 12:36:08 -06:00
Egima profile 3b6d709108 Code for Map (#909)
* 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
2016-12-21 21:07:46 +01:00
maibin daa711d5a3 Simulated Annealing fix (#910)
* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase

* SA further fixes
2016-12-19 22:38:56 +01:00
Danil Kornishev c2f7711923 Nashorn (#896) 2016-12-19 22:16:49 +01:00
maibin 39cc3511ad Simulated Annnealing fixes (#907)
* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase
2016-12-19 19:13:52 +01:00
KevinGilmore ac6a6962a2 Update README.md 2016-12-18 18:03:11 -06:00
eugenp 73d82faf52 maven cleanup work 2016-12-18 17:31:20 +02:00
Eugen 5c8f44b2c6 Update README.md 2016-12-18 14:13:57 +02:00
Muhammed Almas 64b7412a9a BAEL-282 - Grep in Java after code review (#903)
* BAEL-242 Package refactoring after code review for article Grep in Java

* BAEL-282 Updated readme file
2016-12-18 04:34:15 -06:00
Naoshadul Islam 1b59823654 Created README.md and added relevant articles (#901)
* Added relevant articles

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Update README.md

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Update README.md

* Added relevant articles

* Update README.md

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Update README.md
2016-12-18 02:15:07 -06:00
Kevin Gilmore a1fe0749c0 BAEL-35: Added test methods using Apache Commons Collections4 2016-12-17 08:12:32 -06:00
eugenp d66d9fb2c0 maven fix and small formatting work 2016-12-17 15:24:36 +02:00
Muhammed Almas b4ac6c6ec5 BAEL-36 BAEL-282 Getting file size using Java and apache commons IO api. Also grep in Java (#890)
* BAL-36 File size api in java and apache commons IO

* BAEL-36 Getting file size using Java and commons IO api.

* BAEL-282 Added support for grep functionality.

* BAEL-282 Rename the text file extension.
2016-12-17 07:19:13 -06:00
maibin 7f45d8f9c9 Simulated Annealing algorithm (#900)
* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase
2016-12-16 21:10:54 +01:00
maibin 8844871e2b @Async and SecurityContext (#872)
* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Rebase

* Rebase
2016-12-16 10:14:48 +01:00
Naoshadul Islam 0e8f896695 Added relevant articles 2016-12-15 21:35:32 +01:00
Naoshadul Islam 804f7ebfa8 Created README.md and added relevant articles 2016-12-15 21:34:38 +01:00
Naoshadul Islam b9a290fd7a Created README.md and added relevant articles: 2016-12-15 21:34:38 +01:00
Naoshadul Islam f53fe18755 Created README.md and added relevant articles 2016-12-15 21:34:38 +01:00
pivovarit 32ed4d622a Merge remote-tracking branch 'origin/master' 2016-12-14 16:20:17 +01:00
DOHA a3e61b9427 upgrade and cleanup 2016-12-13 22:02:58 +02:00
pivovarit c9bc20ecd3 Refactor Java8CollectionCleanupUnitTest 2016-12-12 22:13:53 +01:00
eugenp f73d5e917a marking some long running unit tests 2016-12-12 14:20:06 +02:00
Marek Lewandowski 3db2e80ab6 Unify, simply, format 2016-12-12 09:58:45 +01:00
slavisa-baeldung b7db6cef7f BAEL-276 - Refactoring encoding test 2016-12-09 23:51:00 +01:00
slavisa-baeldung 6882b767ce NOJIRA - updating README files 2016-12-09 22:40:29 +01:00
slavisa-baeldung d13f274bb3 Merge remote-tracking branch 'origin/master' 2016-12-08 22:07:49 +01:00
pivovarit d564cd3d8d Refactor Optional examples 2016-12-07 07:55:47 +01:00
pivovarit 55c2b3a338 Refactor Optional examples 2016-12-06 22:15:21 +01:00
slavisa-baeldung 9ae3a640a2 Merge branch 'master' into pr/837-sunil 2016-12-06 22:00:55 +01:00
Egima profile 8f9f3bdfee Added new code snippets to OptionalTest to further demo filter API (#881)
* 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
2016-12-06 21:55:33 +01:00
slavisa-baeldung 4f4782255a BAEL-367 - Simplyfing code 2016-12-05 10:59:53 +01:00
eugenp 9621327040 minor formatting work 2016-12-05 11:50:57 +02:00
pivovarit dcb7221d29 Refactor Optional examples 2016-12-04 13:32:18 +01:00
pivovarit 7b6e09fb6a Reformat Optional 2016-12-04 12:43:30 +01:00
pivovarit efd1da83e3 Reformat Optional 2016-12-04 12:41:12 +01:00
Egima profile 11b1cd3edd fixed optional (#877)
* 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
2016-12-04 12:30:28 +01:00
slavisa-baeldung 9d3b8dfb72 BAEL-376 - changing method signatures 2016-12-04 12:13:12 +01:00
pivovarit ec56e7f86c Fix AsyncEchoTest 2016-12-04 10:05:01 +01:00
slavisa-baeldung 1736f681ef Merge remote-tracking branch 'origin/master' 2016-12-04 10:00:06 +01:00
slavisa-baeldung 5925abc243 BAEL-376 - simplifying 2016-12-04 09:59:30 +01:00
pivovarit 3a00e57002 Fix AsyncEchoTest 2016-12-04 09:02:20 +01:00
pivovarit a6bdad2cb9 Refactor JoinSplitCollectionsUnitTest 2016-12-03 17:09:34 +01:00
Hector Romero 34e5a6475f BAEL-7: Fix formatting (#874) 2016-12-03 17:06:01 +01:00
slavisa-baeldung b4f05d4f6f Merge remote-tracking branch 'origin/master'
Conflicts:
	core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoClient.java
	core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoTest.java
2016-12-03 11:11:16 +01:00
pivovarit 6304f2036f Fix AsyncEchoClient 2016-12-03 11:08:14 +01:00
pivovarit 1b63b9bf35 Fix AsyncEchoClient 2016-12-03 10:57:49 +01:00
slavisa-baeldung 1a7f172587 BAEL-376 - Adding more test code 2016-12-03 10:53:17 +01:00
slavisa-baeldung 287fbc3b10 Merge branch 'master' into pr/873-yassser
Conflicts:
	core-java/src/main/java/com/baeldung/generics/Generics.java
	core-java/src/test/java/com/baeldung/generics/GenericsTest.java
2016-12-03 10:20:26 +01:00
Yasser Afifi b18e801370 added more example 2016-12-02 23:31:10 +00:00
Marek Lewandowski 0df0d3325f Merge pull request #871 from tochoromero/master
BAEL-7: Join and Split Collections
2016-12-02 13:56:17 +01:00