Skip to content

Instantly share code, notes, and snippets.

@mjedynak
Created April 1, 2018 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mjedynak/3df44342bf9fe2802156931ac1fa1e94 to your computer and use it in GitHub Desktop.
Save mjedynak/3df44342bf9fe2802156931ac1fa1e94 to your computer and use it in GitHub Desktop.
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