Repository navigation
Commit 00c0223
BAEL-1524: Chain of Responsibility Design Pattern in Java (eugenp#3780)
* BAEL-1422: measure performance of Random and ThreadLocalRandom using JMH
* BAEL-1422: updated benchmarking examples of Random and ThreadLocalRandom to use newWorkStealingPool that leverages ForkJoinPool
* BAEL-1422: refactored benchmarking examples for comparing performance of ThreadLocalRandom and Random
- initialised the collection of Callable before running benchmarking
- removed for loop for submitting task and instead used executor.invokeAll(collection_of_callable)
* BAEL-1282: added TDD type junit tests for geospatial queries elasticsearch
* BAEL-1524: added example for chain of responsibility design pattern
* BAEL-1524: added BDD style jUnit test to test unknown handler in ChainOfResponsibility design pattern
* BAEL-1524: refactored ChainOfResponsibility design pattern example
* BAEL-1524: refactored ChainOfResponsibility design pattern example
* BAEL-1524: updated ChainOfResponsibility design pattern example
* BAEL-1524: updated ChainOfResponsibility design pattern example
* BAEL-1524: moved chain of responsibility example from core-java module to patterns module1 parent 67092cc commit 00c0223
9 files changed
Lines changed: 12 additions & 12 deletions
File tree
- core-java/src/main/java/com/baeldung/designpatterns/chainofresponsibility
- patterns/behavioral-patterns/src
- main/java/com/baeldung/pattern/chainofresponsibility
- test/java/com/baeldung/pattern/chainofresponsibility
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments