MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / equals

Method equals

src/Bytes.java:595–597  ·  view source on GitHub ↗

Tests whether two byte arrays have the same contents. @param a First non-null byte array to compare. @param b Second non-null byte array to compare. @return true if the two arrays are identical, false otherwise.

(final byte[] a, final byte[] b)

Source from the content-addressed store, hash-verified

593 * {@code false} otherwise.
594 */
595 public static boolean equals(final byte[] a, final byte[] b) {
596 return memcmp(a, b) == 0;
597 }
598
599 /**
600 * {@code memcmp(3)} in Java for possibly {@code null} arrays, hooray.

Callers 15

predictSerializedSizeMethod · 0.95
serializeMethod · 0.95
serializeOldMethod · 0.95
deserializeMethod · 0.95
multiGetMethod · 0.95
clientForMethod · 0.95
findTableRegionsMethod · 0.95
locateRegionMethod · 0.95
getRegionMethod · 0.95
invalidateRegionCacheMethod · 0.95
equalsMethod · 0.95

Calls 1

memcmpMethod · 0.95

Tested by

no test coverage detected