- java.lang.Object
-
- org.jgrapht.graph.concurrent.AsSynchronizedGraph.NoCache
-
- org.jgrapht.graph.concurrent.AsSynchronizedGraph.NoCopy
-
- All Implemented Interfaces:
java.io.Serializable,AsSynchronizedGraph.CacheStrategy<V,E>
- Enclosing class:
- AsSynchronizedGraph<V,E>
private class AsSynchronizedGraph.NoCopy extends AsSynchronizedGraph.NoCache
Disable cache as perNoCache, 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 Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateNoCopy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<E>edgesOf(V vertex)Get all edges touching the specified vertex in AsSynchronizedGraph's backing graph.java.util.Set<E>incomingEdgesOf(V vertex)Get a set of all edges in AsSynchronizedGraph's backing graph incoming into the specified vertex.java.util.Set<E>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 Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
edgesOf
public java.util.Set<E> edgesOf(V vertex)
Get all edges touching the specified vertex in AsSynchronizedGraph's backing graph.- Specified by:
edgesOfin interfaceAsSynchronizedGraph.CacheStrategy<V,E>- Overrides:
edgesOfin classAsSynchronizedGraph.NoCache
-
incomingEdgesOf
public java.util.Set<E> incomingEdgesOf(V vertex)
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.NoCache
-
outgoingEdgesOf
public java.util.Set<E> outgoingEdgesOf(V vertex)
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.NoCache
-
-