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

Method hashCode

corpus/java/training/guava/graph/Graphs.java:338–342  ·  view source on GitHub ↗

Returns the hash code of graph. @see Graph#hashCode()

(Graph<?> graph)

Source from the content-addressed store, hash-verified

336 * @see Graph#hashCode()
337 */
338 public static int hashCode(Graph<?> graph) {
339 return (graph instanceof Network)
340 ? hashCode((Network<?, ?>) graph)
341 : nodeToAdjacentNodes(graph).hashCode();
342 }
343
344 /**
345 * Returns the hash code of {@code graph}.

Callers 2

hashCodeMethod · 0.95
hashCodeMethod · 0.95

Calls 3

nodeToAdjacentNodesMethod · 0.95
nodeToIncidentEdgesMethod · 0.95
hashCodeMethod · 0.65

Tested by

no test coverage detected