MCPcopy Create free account
hub / github.com/ORCID/orcid-model / hashCode

Method hashCode

src/main/java/org/orcid/jaxb/model/common_v2/Source.java:133–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131 }
132
133 @Override
134 public int hashCode() {
135 final int prime = 31;
136 int result = 1;
137 result = prime * result + ((sourceClientId == null) ? 0 : sourceClientId.hashCode());
138 result = prime * result + ((sourceOrcid == null) ? 0 : sourceOrcid.hashCode());
139 return result;
140 }
141
142 @Override
143 public boolean equals(Object obj) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected