Created
April 1, 2018 19:42
-
-
Save mjedynak/3df44342bf9fe2802156931ac1fa1e94 to your computer and use it in GitHub Desktop.
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
public interface PersonService { | |
Person getByName(String name); | |
} | |
public class Person { | |
private final String name; | |
private final int age; | |
private final Address address; | |
// ... | |
} | |
public class Address { | |
private final String street; | |
private final String city; | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment