140 Commits

Author SHA1 Message Date
Grzegorz Piwowarek
60c2edaaeb StringTokenizerTest refactor (#1611)
* TokenizerRefactor

* TokenizerRefactor

* TokenizerRefactor
2017-04-08 13:49:01 +02:00
Grzegorz Piwowarek
196ea6b5f7 Refactor Tokenizer (#1605) 2017-04-07 18:15:19 +02:00
Abhinab Kanrar
7ab1e37356 cusstom token (#1588)
* 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

* adding webutils

* adding testcase for WebUtils and ServletRequestUtils

* adding testcase

* spring-security-stormpath

* adding ratpack module

* adding pom.xml

* adding following modules with updated testcase : DB, Filter, Json

* adding spring-boot custom banner tutorial

* changing banner format in plain text

* Delete banner.txt~

* Delete b.txt~

* CORS in JAX-RS

* ratpack with google guice

* adding factory instance example

* quick-guide-to-the-java-stringtokenizer

* Update Application.java

* Delete MovieCrudService.java~

* token customization

* Update Application.java

* adding csv test

* adding csv test

* Update Application.java

* adding collection module
2017-04-07 16:33:10 +02:00
Abhinab Kanrar
50ff1d18c4 quick-guide-to-the-java-stringtokenizer (#1587)
* 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

* adding webutils

* adding testcase for WebUtils and ServletRequestUtils

* adding testcase

* spring-security-stormpath

* adding ratpack module

* adding pom.xml

* adding following modules with updated testcase : DB, Filter, Json

* adding spring-boot custom banner tutorial

* changing banner format in plain text

* Delete banner.txt~

* Delete b.txt~

* CORS in JAX-RS

* ratpack with google guice

* adding factory instance example

* quick-guide-to-the-java-stringtokenizer

* Update Application.java

* Delete MovieCrudService.java~
2017-04-04 12:32:55 +02:00
Mohamed Sanaulla
0b17547d20 code for BAEL-747 after incorporating review comments (#1560) 2017-04-01 21:51:12 +02:00
Mohamed Sanaulla
e6836c01c7 sample for BAEL-747 Check if a number is prime in Java (#1508) 2017-03-26 22:57:36 +02:00
Yasin
2aca6e085b BAEL-745 Quick Math.pow example (#1482)
* yasin.bhojawala@gmail.com

Evaluation article on Different Types of Bean Injection in Spring

* Revert "yasin.bhojawala@gmail.com"

This reverts commit 963cc51a7a15b75b550108fe4e198cd65a274032.

* Fixing compilation error and removing unused import

* Introduction to Java9 StackWalking API - yasin.bhojawala@gmail.com

Code examples for the article "Introduction to Java9 StackWalking API"

* BAEL-608 Introduction to Java9 StackWalking API

* BAEL-608 Introduction to Java9 StackWalking API

changing the test names to BDD style

* BAEL-608 Introduction to Java9 StackWalking API

correcting the typo

* BAEL-608 Introduction to Java9 StackWalking API

improving method names

* BAEL-608 Introduction to Java9 StackWalking API

test method names improvements

* BAEL-718 Quick intro to javatuples

* merging pom from master

* BAEL-722 Intro to JSONassert

* BAEL-722 Intro to JSONassert

Updated to 1.5.0

* BAEL-745 Quick Math.pow example
2017-03-24 21:27:45 +01:00
azrairshad
44f5742f16 (BAEL-746) How to Copy an Array in Java (#1474) 2017-03-24 17:55:02 +01:00
Grzegorz Piwowarek
99bebe806c Refactor flattening lists example (#1372) 2017-03-18 07:05:02 +01:00
gitterjim-I
ea26d4209e Bael-667 Flatten Nested Collections (#1330)
* article Bael-667 initial commit.

* Switch to use logging framework for output.
2017-03-10 23:19:26 +01:00
maibin
3abb98e9e8 Final fixes on ACO (#1339)
* Ant Colony Optimization

* Updated code for Ant Colony
2017-03-08 21:21:47 -06:00
pivovarit
9758e2ce3c ACO refactor 2017-03-08 14:23:56 +01:00
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