MCPcopy Create free account
hub / github.com/LFYSec/MScan / hasNode

Method hasNode

src/main/java/pascal/taie/util/graph/Graph.java:41–41  ·  view source on GitHub ↗

@return true if this graph has given node, otherwise false.

(N node)

Source from the content-addressed store, hash-verified

39 * @return {@code true} if this graph has given node, otherwise {@code false}.
40 */
41 default boolean hasNode(N node) {
42 return getNodes().contains(node);
43 }
44

Callers 3

testSimpleGraphMethod · 0.65
containsMethod · 0.65

Calls

no outgoing calls

Tested by 1

testSimpleGraphMethod · 0.52