MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / hashCode

Method hashCode

java/jms/src/org/opendds/jms/common/lang/Objects.java:27–36  ·  view source on GitHub ↗
(Object ...objs)

Source from the content-addressed store, hash-verified

25 }
26
27 public static int hashCode(Object ...objs) {
28 int value = 0;
29
30 for (Object o : objs) {
31 if (o != null) {
32 value ^= o.hashCode();
33 }
34 }
35 return value;
36 }
37
38 public static String toString(Object o) {
39 assert o != null;

Callers 4

hashCodeMethod · 0.95
hashCodeMethod · 0.95
hashCodeMethod · 0.95
toStringMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected