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 org.jgrapht.graph.concurrent.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
Get all edges touching the specified vertex in AsSynchronizedGraph's backing graph.- Specified by:
edgesOf
in interfaceAsSynchronizedGraph.CacheStrategy<V,
E> - Overrides:
edgesOf
in classAsSynchronizedGraph<V,
E>.NoCache
-
incomingEdgesOf
Get a set of all edges in AsSynchronizedGraph's backing graph incoming into the specified vertex.- Specified by:
incomingEdgesOf
in interfaceAsSynchronizedGraph.CacheStrategy<V,
E> - Overrides:
incomingEdgesOf
in classAsSynchronizedGraph<V,
E>.NoCache
-
outgoingEdgesOf
Get a set of all edges in AsSynchronizedGraph's backing graph outgoing from the specified vertex.- Specified by:
outgoingEdgesOf
in interfaceAsSynchronizedGraph.CacheStrategy<V,
E> - Overrides:
outgoingEdgesOf
in classAsSynchronizedGraph<V,
E>.NoCache
-