Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SW-Fantastic/Reader
/ hashCode
Method
hashCode
src/main/java/org/swdc/reader/entity/BookTag.java:32–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
30
}
31
32
@Override
33
public
int
hashCode() {
34
if
(this.getId() != null) {
35
return
this.getId().intValue();
36
}
else
{
37
return
this.getName().hashCode();
38
}
39
}
40
41
public
Long getId() {
42
return
id;
Callers
nothing calls this directly
Calls
2
getId
Method · 0.95
getName
Method · 0.95
Tested by
no test coverage detected