[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eEmail\u003c/code\u003e class is a data type for representing email addresses, implementing both \u003ccode\u003eSerializable\u003c/code\u003e and \u003ccode\u003eComparable<Email>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class does not perform email address validation, and the RFC 2822 specification is recommended for further information.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEmail\u003c/code\u003e class inherits several methods from \u003ccode\u003ejava.lang.Object\u003c/code\u003e, including \u003ccode\u003eequals\u003c/code\u003e, \u003ccode\u003ehashCode\u003c/code\u003e, and \u003ccode\u003etoString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAn \u003ccode\u003eEmail\u003c/code\u003e object can be created using the \u003ccode\u003eEmail(String email)\u003c/code\u003e constructor, which takes the email address as a string.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes the methods \u003ccode\u003ecompareTo(Email e)\u003c/code\u003e, \u003ccode\u003eequals(Object o)\u003c/code\u003e, \u003ccode\u003egetEmail()\u003c/code\u003e, and \u003ccode\u003ehashCode()\u003c/code\u003e for comparing and retrieving the email value, as well as getting the hashcode of the email object.\u003c/p\u003e\n"]]],[],null,["# Class Email (2.0.0)\n\n public final class Email implements Serializable, Comparable\u003cEmail\u003e\n\nAn e-mail address datatype. Makes no attempt at validation.\nSee Also: [RFC 2822](http://tools.ietf.org/html/rfc2822) for the e-mail address specification. \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e Email \n\nImplements\n----------\n\n[Serializable](https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html), [Comparable\\\u003cEmail\\\u003e](https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable\u003ccom/google/appengine/api/datastore/Email\u003e.html) \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nConstructors\n------------\n\n### Email(String email)\n\n public Email(String email)\n\nMethods\n-------\n\n### compareTo(Email e)\n\n public int compareTo(Email e)\n\n### equals(@Nullable Object o)\n\n public boolean equals(@Nullable Object o)\n\n**Overrides** \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-)\n\n### getEmail()\n\n public String getEmail()\n\n### hashCode()\n\n public int hashCode()\n\n**Overrides** \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--)"]]