com.google.appengine.api.datastore
Class Email
java.lang.Object
com.google.appengine.api.datastore.Email
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Email>
public final class Email
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Comparable<Email>
An RFC2822 email address. Makes no attempt at validation.
- See Also:
- Serialized Form
Constructor Summary |
Email(java.lang.String email)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Email
public Email(java.lang.String email)
getEmail
public java.lang.String getEmail()
compareTo
public int compareTo(Email e)
- Specified by:
compareTo
in interface java.lang.Comparable<Email>
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object