MCPcopy Create free account
hub / github.com/antlr/codebuff / inDegree

Method inDegree

output/java_guava/1.4.17/AbstractGraph.java:38–42  ·  view source on GitHub ↗
(Object node)

Source from the content-addressed store, hash-verified

36 }
37
38 @Override
39 public int inDegree(Object node) {
40 // only works for non-multigraphs; multigraphs not yet supported
41 return predecessors(node).size();
42 }
43
44 @Override
45 public int outDegree(Object node) {

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.65
predecessorsMethod · 0.65

Tested by

no test coverage detected