This file contains hidden or 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
| import java.util.List; | |
| import java.util.Optional; | |
| class Candidate { long id; } | |
| class CandidateService { List<Candidate> getAll() { return List.of(); } } | |
| class Interview { long candidateId; int score; } | |
| class InterviewService { List<Interview> getAll() { return List.of(); } } | |
| class CandidateException extends RuntimeException {} |
This file contains hidden or 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
| import java.util.List; | |
| import java.util.Map; | |
| import java.util.stream.Collectors; | |
| import java.util.stream.IntStream; | |
| interface ItemsRepository { | |
| List<Integer> findByType(String type); | |
| // Dummy implementation, but please assume this is a proper DB repository: |
This file contains hidden or 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
| ### Keybase proof | |
| I hereby claim: | |
| * I am jjarzynski on github. | |
| * I am jjarzynski (https://keybase.io/jjarzynski) on keybase. | |
| * I have a public key ASAHAmv6Phz12OrJ0Fzgma3xi_vYEVxJ6f22Qer45SGJBgo | |
| To claim this, I am signing this object: |