- org.whispersystems.libsignal.util.guava.Optional.fromNullable(e164.orElse(null)));
- }
-
- @Override
- public boolean equals(final Object o) {
- if (this == o) return true;
- if (o == null || getClass() != o.getClass()) return false;
-
- final RecipientAddress that = (RecipientAddress) o;
-
- if (!uuid.equals(that.uuid)) return false;
- return e164.equals(that.e164);
- }
-
- @Override
- public int hashCode() {
- int result = uuid.hashCode();
- result = 31 * result + e164.hashCode();
- return result;