public class ContactInfo extends Object
| Constructor and Description |
|---|
ContactInfo() |
| Modifier and Type | Method and Description |
|---|---|
ContactInfo |
email(String email) |
boolean |
equals(Object o) |
String |
getEmail() |
String |
getPhone() |
int |
hashCode() |
ContactInfo |
phone(String phone) |
void |
setEmail(String email) |
void |
setPhone(String phone) |
String |
toString() |
public ContactInfo phone(String phone)
public String getPhone()
public void setPhone(String phone)
public ContactInfo email(String email)
public String getEmail()
public void setEmail(String email)
public boolean equals(Object o)
public int hashCode()
public String toString()
Copyright © 2018. All rights reserved.