Last active
July 22, 2020 15:59
-
-
Save samiron/17c71dfa0ec145dc832831c80060eb42 to your computer and use it in GitHub Desktop.
Function Relaying Using Java 8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
something else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
validationChain = validateTeam() | |
.next(validateManagers()) | |
.next(validatePlayers()) | |
.next(validatePhysicians()) | |
validationChain.apply(teamDTO) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment