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