Class AsSynchronizedGraph.NoCopy
java.lang.Object
AsSynchronizedGraph<V,E>.org.jgrapht.graph.concurrent.AsSynchronizedGraph.NoCache
org.jgrapht.graph.concurrent.AsSynchronizedGraph.NoCopy
- All Implemented Interfaces:
Serializable, AsSynchronizedGraph.CacheStrategy<V,E>
- Enclosing class:
AsSynchronizedGraph<V,E>
Disable cache as per
NoCache, and also don't produce copies; instead, just
directly return the results from the underlying graph. This requires the caller to explicitly
synchronize iterations over these collections.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet all edges touching the specified vertex in AsSynchronizedGraph's backing graph.incomingEdgesOf(V vertex) Get a set of all edges in AsSynchronizedGraph's backing graph incoming into the specified vertex.outgoingEdgesOf(V vertex) Get a set of all edges in AsSynchronizedGraph's backing graph outgoing from the specified vertex.Methods inherited from class AsSynchronizedGraph.NoCache
addEdge, addEdge, isCacheEnabled, removeEdge, removeEdge, removeVertex
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
NoCopy
private NoCopy()
-
-
Method Details
-
edgesOf
-
incomingEdgesOf
Get a set of all edges in AsSynchronizedGraph's backing graph incoming into the specified vertex.- Specified by:
incomingEdgesOfin interfaceAsSynchronizedGraph.CacheStrategy<V,E> - Overrides:
incomingEdgesOfin classAsSynchronizedGraph<V,E>.NoCache
-
outgoingEdgesOf
Get a set of all edges in AsSynchronizedGraph's backing graph outgoing from the specified vertex.- Specified by:
outgoingEdgesOfin interfaceAsSynchronizedGraph.CacheStrategy<V,E> - Overrides:
outgoingEdgesOfin classAsSynchronizedGraph<V,E>.NoCache
-