@CheckReturnValue @ParametersAreNonnullByDefault
Package com.google.common.graph
An API for representing graph (node and edge) data. It is analogous to the Java Collections
Framework APIs for lists, maps, sets, etc.
This package is a part of the open-source Guava library.
-
Interface Summary Interface Description Graph<N> An interface for graph-structured data, whose edges are anonymous entities with no identity or information of their own.MutableGraph<N> A subinterface ofGraph
which adds mutation methods.MutableNetwork<N,E> A subinterface ofNetwork
which adds mutation methods.MutableValueGraph<N,V> A subinterface ofValueGraph
which adds mutation methods.Network<N,E> An interface for graph-structured data, whose edges are unique objects.ValueGraph<N,V> An interface for graph- structured data, whose edges have associated non-unique values. -
Class Summary Class Description AbstractGraph<N> This class provides a skeletal implementation ofGraph
.AbstractNetwork<N,E> This class provides a skeletal implementation ofNetwork
.AbstractValueGraph<N,V> This class provides a skeletal implementation ofValueGraph
.ElementOrder<T> Used to represent the order of elements in a data structure that supports different options for iteration order guarantees.EndpointPair<N> An immutable pair representing the two endpoints of an edge in a graph.GraphBuilder<N> A builder for constructing instances ofMutableGraph
with user-defined properties.Graphs ImmutableGraph<N> AGraph
whose elements and structural relationships will never change.ImmutableNetwork<N,E> ANetwork
whose elements and structural relationships will never change.ImmutableValueGraph<N,V> AValueGraph
whose elements and structural relationships will never change.NetworkBuilder<N,E> A builder for constructing instances ofMutableNetwork
with user-defined properties.ValueGraphBuilder<N,V> A builder for constructing instances ofMutableValueGraph
with user-defined properties. -
Enum Summary Enum Description ElementOrder.Type The type of ordering that this object specifies.