MCPcopy Create free account
hub / github.com/M66B/FairEmail / equals

Method equals

app/src/main/java/eu/faircode/email/EntityFolder.java:673–720  ·  view source on GitHub ↗
(Object obj)

Source from the content-addressed store, hash-verified

671 }
672
673 @Override
674 public boolean equals(Object obj) {
675 if (obj instanceof EntityFolder) {
676 EntityFolder other = (EntityFolder) obj;
677 return (this.id.equals(other.id) &&
678 Objects.equals(this.account, other.account) &&
679 Objects.equals(this.parent, other.parent) &&
680 Objects.equals(this.uidv, other.uidv) &&
681 Objects.equals(this.namespace, other.namespace) &&
682 Objects.equals(this.separator, other.separator) &&
683 this.name.equals(other.name) &&
684 this.type.equals(other.type) &&
685 this.level.equals(other.level) &&
686 this.synchronize.equals(other.synchronize) &&
687 this.poll.equals(other.poll) &&
688 this.download.equals(other.download) &&
689 this.auto_classify_source.equals(other.auto_classify_source) &&
690 this.auto_classify_target.equals(other.auto_classify_target) &&
691 Objects.equals(this.subscribed, other.subscribed) &&
692 this.sync_days.equals(other.sync_days) &&
693 this.keep_days.equals(other.keep_days) &&
694 this.auto_delete.equals(other.auto_delete) &&
695 Objects.equals(this.display, other.display) &&
696 Objects.equals(this.color, other.color) &&
697 Objects.equals(this.order, other.order) &&
698 this.hide == other.hide &&
699 this.hide_seen == other.hide_seen &&
700 this.collapsed == other.collapsed &&
701 this.unified == other.unified &&
702 this.navigation == other.navigation &&
703 this.count_unread == other.count_unread &&
704 this.notify == other.notify &&
705 Objects.equals(this.total, other.total) &&
706 Helper.equal(this.keywords, other.keywords) &&
707 this.initialize.equals(other.initialize) &&
708 Objects.equals(this.tbc, other.tbc) &&
709 Objects.equals(this.tbd, other.tbd) &&
710 Objects.equals(this.rename, other.rename) &&
711 Objects.equals(this.state, other.state) &&
712 Objects.equals(this.sync_state, other.sync_state) &&
713 this.read_only == other.read_only &&
714 this.selectable == other.selectable &&
715 this.inferiors == other.inferiors &&
716 Objects.equals(this.error, other.error) &&
717 Objects.equals(this.last_sync, other.last_sync));
718 } else
719 return false;
720 }
721
722 @Override
723 public String toString() {

Callers 11

setPropertiesMethod · 0.45
setSpecialsMethod · 0.45
inheritFromMethod · 0.45
getIconMethod · 0.45
getDefaultColorMethod · 0.45
isOutgoingMethod · 0.45
getTypeMethod · 0.45
getSubtypeMethod · 0.45
guessTypesMethod · 0.45
localizeNameMethod · 0.45
fromJSONMethod · 0.45

Calls 1

equalMethod · 0.95

Tested by

no test coverage detected