public class AddressBook
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
AddressBook.AddressEntry |
| Constructor and Description |
|---|
AddressBook(RootAccount rootAccount) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(AddressBook.AddressEntry theEntry) |
AddressBook.AddressEntry |
getEntry(int index) |
AddressBook.AddressEntry |
getEntryWithID(int id) |
AddressBook.AddressEntry |
getEntryWithID(long id) |
int |
getSize() |
void |
removeEntry(AddressBook.AddressEntry theEntry) |
void |
sortEntries()
Sort the addressbook entries using a horribly inefficient algorithm.
|
public AddressBook(RootAccount rootAccount)
public void sortEntries()
public AddressBook.AddressEntry getEntryWithID(int id)
public AddressBook.AddressEntry getEntryWithID(long id)
public void addEntry(AddressBook.AddressEntry theEntry)
public void removeEntry(AddressBook.AddressEntry theEntry)
public int getSize()
public AddressBook.AddressEntry getEntry(int index)