List of usage examples for com.google.common.graph ValueGraph allowsSelfLoops
@Override
boolean allowsSelfLoops();
From source file:no.ssb.vtl.script.operations.hierarchy.HierarchyOperation.java
@VisibleForTesting HierarchyOperation(Dataset dataset, ValueGraph<VTLObject, Composition> graph, Component component) { this(dataset, dataset, component); checkNotNull(graph);/*from w w w . ja v a2 s . c o m*/ checkArgument(graph.isDirected()); checkArgument(!graph.allowsSelfLoops()); this.graph = ImmutableValueGraph.copyOf(graph); }