示例#1
0
 public void modifyPhoneOfPerson(int index, Phone phone) {
   phones.set(index, phone);
 }
示例#2
0
 public void modifyAddressOfPerson(int index, Address address) {
   addresses.set(index, address);
 }