Class DirectedEventGraph<ID>
- java.lang.Object
-
- com.github.moaxcp.graphs.AbstractGraph<ID>
-
- com.github.moaxcp.graphs.greenrobot.AbstractEventGraph<ID>
-
- com.github.moaxcp.graphs.greenrobot.DirectedEventGraph<ID>
-
- All Implemented Interfaces:
EventGraph<ID>
,Graph<ID>
public class DirectedEventGraph<ID> extends AbstractEventGraph<ID>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.github.moaxcp.graphs.greenrobot.AbstractEventGraph
AbstractEventGraph.EventEdge, AbstractEventGraph.EventVertex
-
Nested classes/interfaces inherited from class com.github.moaxcp.graphs.AbstractGraph
AbstractGraph.SimpleEdge, AbstractGraph.SimpleVertex
-
Nested classes/interfaces inherited from interface com.github.moaxcp.graphs.Graph
Graph.Edge<ID>, Graph.Vertex<ID>
-
-
Constructor Summary
Constructors Constructor Description DirectedEventGraph(ID id, EventBus bus)
DirectedEventGraph(EventBus bus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isDirected()
Returns true if this graph is directed.protected EdgeKey<ID>
newEdgeKey(ID from, ID to)
-
Methods inherited from class com.github.moaxcp.graphs.greenrobot.AbstractEventGraph
addEdge, addVertex, getBus, newEdge, newVertex, removeEdge, removeProperty, removeVertex, setId, setProperty
-
Methods inherited from class com.github.moaxcp.graphs.AbstractGraph
edge, edgeProperty, equals, findEdge, findEdge, findVertex, getEdgeIds, getEdgeProperties, getEdgeProperty, getEdges, getId, getProperties, getProperty, getVertexProperties, getVertexProperty, getVertices, hashCode, id, property, removeEdge, removeEdgeProperty, removeVertexProperty, setEdgeProperty, setVertexProperty, vertex, vertexProperty
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.moaxcp.graphs.Graph
edge, edgeProperty, findEdge, findEdge, findVertex, getEdgeIds, getEdgeProperties, getEdgeProperty, getEdges, getId, getProperties, getProperty, getVertexProperties, getVertexProperty, getVertices, id, property, removeEdge, removeEdgeProperty, removeVertexProperty, setEdgeProperty, setVertexProperty, vertex, vertexProperty
-
-
-
-
Method Detail
-
newEdgeKey
protected EdgeKey<ID> newEdgeKey(ID from, ID to)
- Specified by:
newEdgeKey
in classAbstractGraph<ID>
-
isDirected
public boolean isDirected()
Description copied from interface:Graph
Returns true if this graph is directed.- Returns:
- if this graph is directed
-
-