boolean (final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final AbstractUrl that = (AbstractUrl)o; if (moduleName != null ? !moduleName.equals(that.moduleName) : that.moduleName != null) return false; return myType.equals(that.myType) && url.equals(that.url); }