Rakesh Venkatesh
|
af1b611136
|
code refactor
|
2020-10-13 17:36:59 +02:00 |
|
Rakesh Venkatesh
|
4ff196ce35
|
Refactor the command pattern to use lambda functions
We can leverage the lambda expressins of Java 8 onwards
to implement command design pattern instead of traditional
non functional way
|
2020-10-13 16:45:19 +02:00 |
|
Rakesh Venkatesh
|
0c83ccc2fe
|
Use enums instead os switch blocks
Its better to use enums instead of switch
blocks which makes the code longer and difficult
to maintain as and when new state appears.
|
2020-08-05 15:50:05 +02:00 |
|
Rakesh Venkatesh
|
f234baf258
|
Cleanup code
|
2020-08-04 16:34:41 +02:00 |
|
Rakesh Venkatesh
|
b9f17824fa
|
removing unwanted modifiers
|
2020-08-03 17:38:03 +02:00 |
|
Rakesh Venkatesh
|
3ae7466647
|
Typically command pattern is implemented using
interfaces and concrete classes. Refactor the
code to use the same
|
2020-08-03 16:51:30 +02:00 |
|