Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RealTimeGenomics/rtg-tools
/ compareTo
Method
compareTo
src/main/java/com/rtg/mode/Protein.java:223–226 ·
view source on GitHub ↗
(final Protein p)
Source
from the content-addressed store, hash-verified
221
}
222
223
@Override
224
public
int
compareTo(
final
Protein p) {
225
return
Integer.compare(ordinal(), p.ordinal());
226
}
227
228
@Override
229
public
boolean equals(
final
Object p) {
Callers
nothing calls this directly
Calls
3
ordinal
Method · 0.95
compare
Method · 0.65
ordinal
Method · 0.65
Tested by
no test coverage detected