Java com.google.common.graph Graph fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.graph Graph fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.graph Graph.

The text is from its open source code.

Implementation

com.google.common.graph.Graph has the following implementations.
Click this link to see all its implementation.

Method

SetadjacentNodes(Object node)
Returns the nodes which have an incident edge in common with node in this graph.
intdegree(Object node)
Returns the number of edges incident in this graph to node .
booleanisDirected()
Returns true if the edges in this graph have a direction associated with them.
Setnodes()
Returns all nodes in this graph.
Setpredecessors(Object node)
Returns all nodes in this graph adjacent to node which can be reached by traversing node 's incoming edges against the direction (if any) of the edge.
Setsuccessors(Object node)
Returns all nodes in this graph adjacent to node which can be reached by traversing node 's outgoing edges in the direction (if any) of the edge.