Class Email (2.0.0)

public final class Email implements Serializable, Comparable<Email>

An e-mail address datatype. Makes no attempt at validation. See Also: RFC 2822 for the e-mail address specification.

Inheritance

java.lang.Object > Email

Constructors

Email(String email)

public Email(String email)
Parameter
Name Description
email String

Methods

compareTo(Email e)

public int compareTo(Email e)
Parameter
Name Description
e Email
Returns
Type Description
int

equals(@Nullable Object o)

public boolean equals(@Nullable Object o)
Parameter
Name Description
o @org.checkerframework.checker.nullness.qual.Nullable java.lang.Object
Returns
Type Description
boolean
Overrides

getEmail()

public String getEmail()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides