Modifier and Type | Method and Description |
---|---|
static PhoneNumber |
PhoneNumber.getInstance(int areaCode,
int exchangeCode,
int stationCode)
Get a phone number having the given area code, exchange code, and station
code.
|
PhoneNumber |
CallLogEntry.getNumber()
Returns the phone number of this entry.
|
Modifier and Type | Method and Description |
---|---|
Set<PhoneNumber> |
CallLog.getPhoneNumbers()
Returns a set of all of the phone numbers in this call log.
|
Modifier and Type | Method and Description |
---|---|
int |
PhoneNumber.compareTo(PhoneNumber other)
Compares two phone numbers for order.
|
Constructor and Description |
---|
CallLog(String name,
Date callDate,
PhoneNumber number)
Initializes this call log to have the given name and a size
equal to 1.
|
CallLogEntry(Date date,
PhoneNumber number)
Initialize this call log entry to the given date and phone number.
|