public class AddressBook
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator<AddressBookEntry> |
comparator |
Constructor and Description |
---|
AddressBook(AccountBook book) |
Modifier and Type | Method and Description |
---|---|
void |
addEntry(AddressBookEntry theEntry) |
java.util.List<AddressBookEntry> |
getAllEntries() |
AddressBookEntry |
getEntryWithID(int id) |
AddressBookEntry |
getEntryWithID(long id) |
void |
loadFromLegacyData() |
void |
removeEntry(AddressBookEntry theEntry) |
public static java.util.Comparator<AddressBookEntry> comparator
public AddressBook(AccountBook book)
public void loadFromLegacyData()
public AddressBookEntry getEntryWithID(int id)
public AddressBookEntry getEntryWithID(long id)
public java.util.List<AddressBookEntry> getAllEntries()
public void addEntry(AddressBookEntry theEntry)
public void removeEntry(AddressBookEntry theEntry)