Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/apache/groovy
/ count
Method
count
src/main/java/org/codehaus/groovy/ast/query/AstQuery.java:257–259 ·
view source on GitHub ↗
@return the number of matching nodes
()
Source
from the content-addressed store, hash-verified
255
* @
return
the number of matching nodes
256
*/
257
public
long count() {
258
return
run(false).size();
259
}
260
261
/**
262
* @
return
the first match in document order,
if
any; stops at the first match
Callers
nothing calls this directly
Calls
2
run
Method · 0.95
size
Method · 0.65
Tested by
no test coverage detected