MCPcopy Create free account
hub / github.com/apache/tomcat / equals

Method equals

java/org/apache/catalina/tribes/util/Arrays.java:226–228  ·  view source on GitHub ↗

Compares two byte arrays for equality. @param o1 the first byte array @param o2 the second byte array @return true if the arrays are equal

(byte[] o1, byte[] o2)

Source from the content-addressed store, hash-verified

224 * @return {@code true} if the arrays are equal
225 */
226 public static boolean equals(byte[] o1, byte[] o2) {
227 return java.util.Arrays.equals(o1, o2);
228 }
229
230 /**
231 * Compares two object arrays for equality.

Callers 15

testConvertToBytesMethod · 0.95
testSerializationOneMethod · 0.95
compareMembersMethod · 0.95
equalsMethod · 0.95
equalsMethod · 0.95
isMethodOverrideMethod · 0.95
equalsMethod · 0.95
toPrivateKeyMethod · 0.95
equalsMethod · 0.95
acceptMethod · 0.95
memberDataReceivedMethod · 0.95

Calls 1

equalsMethod · 0.65

Tested by 4

testConvertToBytesMethod · 0.76
testSerializationOneMethod · 0.76
compareMembersMethod · 0.76