MCPcopy Index your code
hub / github.com/antlr/codebuff / getPropertiesString

Method getPropertiesString

output/java_guava/1.4.19/Graphs.java:490–495  ·  view source on GitHub ↗
(Graph<?> graph)

Source from the content-addressed store, hash-verified

488
489
490 private static String getPropertiesString(Graph<?> graph) {
491 if (graph instanceof Network) {
492 return getPropertiesString((Network<?, ?>) graph);
493 }
494 return String.format("isDirected: %s, allowsSelfLoops: %s", graph.isDirected(), graph.allowsSelfLoops());
495 }
496
497 /**
498 * Returns a string representation of the properties of {@code graph}.

Callers 1

toStringMethod · 0.95

Calls 4

isDirectedMethod · 0.65
allowsSelfLoopsMethod · 0.65
allowsParallelEdgesMethod · 0.65
formatMethod · 0.45

Tested by

no test coverage detected