package net.pterodactylus.irc;
+import com.google.common.base.Objects;
import com.google.common.base.Optional;
/**
}
//
+ // OBJECT METHODS
+ //
+
+ @Override
+ public boolean equals(Object object) {
+ if (!(object instanceof Source)) {
+ return false;
+ }
+ Source source = (Source) object;
+ if (!Objects.equal(nick(), source.nick())) {
+ return false;
+ }
+ if (!Objects.equal(username(), source.username())) {
+ return false;
+ }
+ if (!Objects.equal(server(), source.server())) {
+ return false;
+ }
+ return true;
+ }
+
+ //
// STATIC METHODS
//