+ /**
+ * Return the list of {@link Contact}s. Note that this list is a copy.
+ *
+ * @return the list of {@link Contact}s
+ */
+ public List<Contact> getContacts() {
+ ArrayList<Contact> list = new ArrayList<Contact>(size());
+ list.addAll(contacts);
+ return list;
+ }
+
+ public int size() {
+ return contacts.size();
+ }
+
+ public Contact get(int index) {
+ return contacts.get(index);
+ }
+