Created
October 22, 2019 10:14
-
-
Save HyeonUkCho/ad6d5eb989242f4612734d6eb1bd051a 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
@Getter @Setter @NonNull | |
private List<Person> members; | |
@NonNull | |
private List<Person> members; | |
public Family(@NonNull final List<Person> members) { | |
if (members == null) throw new java.lang.NullPointerException("members"); | |
this.members = members; | |
} | |
@NonNull | |
public List<Person> getMembers() { | |
return members; | |
} | |
public void setMembers(@NonNull final List<Person> members) { | |
if (members == null) throw new java.lang.NullPointerException("members"); | |
this.members = members; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment