Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/apache/groovy
/ compute
Method
compute
src/spec/test/typing/TypeCheckingJavaTest.java:39–41 ·
view source on GitHub ↗
(String str)
Source
from the content-addressed store, hash-verified
37
38
// tag::java_method_selection_head[]
39
public
Integer compute(String str) {
40
return
str.length();
41
}
42
public
String compute(Object o) {
43
return
"Nope"
;
44
}
Callers
1
testJavaMethodSelection
Method · 0.95
Calls
1
length
Method · 0.45
Tested by
no test coverage detected