Uses of Class
com.google.common.graph.GraphBuilder
Packages that use GraphBuilder
-
Uses of GraphBuilder in com.google.common.graph
Methods in com.google.common.graph that return GraphBuilderModifier and TypeMethodDescriptionGraphBuilder.allowsSelfLoops(boolean allowsSelfLoops) Specifies whether the graph will allow self-loops (edges that connect a node to itself).static GraphBuilder<Object> GraphBuilder.directed()Returns aGraphBuilderfor building directed graphs.GraphBuilder.expectedNodeCount(int expectedNodeCount) Specifies the expected number of nodes in the graph.static <N> GraphBuilder<N> Returns aGraphBuilderinitialized with all properties queryable fromgraph.<N1 extends N>
GraphBuilder<N1> GraphBuilder.incidentEdgeOrder(ElementOrder<N1> incidentEdgeOrder) Specifies the order of iteration for the elements ofGraph.edges(),Graph.adjacentNodes(Object),Graph.predecessors(Object),Graph.successors(Object)andGraph.incidentEdges(Object).<N1 extends N>
GraphBuilder<N1> GraphBuilder.nodeOrder(ElementOrder<N1> nodeOrder) Specifies the order of iteration for the elements ofGraph.nodes().static GraphBuilder<Object> GraphBuilder.undirected()Returns aGraphBuilderfor building undirected graphs.