MCPcopy Create free account
hub / github.com/RealTimeGenomics/rtg-tools / equals

Method equals

src/main/java/com/rtg/mode/Protein.java:228–235  ·  view source on GitHub ↗
(final Object p)

Source from the content-addressed store, hash-verified

226 }
227
228 @Override
229 public boolean equals(final Object p) {
230 if (!(p instanceof Protein)) {
231 return false;
232 }
233 final Protein po = (Protein) p;
234 return ordinal() == po.ordinal();
235 }
236
237 @Override
238 public int hashCode() {

Callers

nothing calls this directly

Calls 1

ordinalMethod · 0.95

Tested by

no test coverage detected