Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ norm
Method
norm
__tests__/fixtures/kernel-parity/TortureRecord.java:21–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
public
int
x() {
return
x; }
20
21
public
double norm() {
return
Math.sqrt(x * x + y * y); }
22
23
@Override
24
public
int
compareTo(Point o) {
return
Double.compare(norm(), o.norm()); }
Callers
1
compareTo
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected