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

Method equals

app/src/main/java/eu/faircode/email/EntityRule.java:1784–1802  ·  view source on GitHub ↗
(Object obj)

Source from the content-addressed store, hash-verified

1782 }
1783
1784 @Override
1785 public boolean equals(Object obj) {
1786 if (obj instanceof EntityRule) {
1787 EntityRule other = (EntityRule) obj;
1788 return Objects.equals(this.uuid, other.uuid) &&
1789 this.folder.equals(other.folder) &&
1790 this.name.equals(other.name) &&
1791 Objects.equals(this.group, other.group) &&
1792 this.order == other.order &&
1793 this.enabled == other.enabled &&
1794 this.daily == other.daily &&
1795 this.stop == other.stop &&
1796 this.condition.equals(other.condition) &&
1797 this.action.equals(other.action) &&
1798 this.applied.equals(other.applied) &&
1799 Objects.equals(this.last_applied, other.last_applied);
1800 } else
1801 return false;
1802 }
1803
1804 boolean matches(String query) {
1805 if (this.name.toLowerCase().contains(query))

Callers 9

needsBodyMethod · 0.45
needsMethod · 0.45
matchesMethod · 0.45
matchKeywordsMethod · 0.45
onActionHideMethod · 0.45
onActionAnswerMethod · 0.45
answerMethod · 0.45
onActionImportanceMethod · 0.45
isBlockingSenderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected