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

Method equal

app/src/main/java/eu/faircode/email/MessageHelper.java:6129–6144  ·  view source on GitHub ↗
(Address[] a1, Address[] a2)

Source from the content-addressed store, hash-verified

6127 }
6128
6129 static boolean equal(Address[] a1, Address[] a2) {
6130 if (a1 == null && a2 == null)
6131 return true;
6132
6133 if (a1 == null || a2 == null)
6134 return false;
6135
6136 if (a1.length != a2.length)
6137 return false;
6138
6139 for (int i = 0; i < a1.length; i++)
6140 if (!a1[i].toString().equals(a2[i].toString()))
6141 return false;
6142
6143 return true;
6144 }
6145
6146 static Map<String, String> getKeyValues(String value) {
6147 Map<String, String> values = new HashMap<>();

Callers 5

onExecuteMethod · 0.95
answerMethod · 0.95
equalsMethod · 0.95
equalsMethod · 0.95
areContentsTheSameMethod · 0.95

Calls 2

equalsMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected