Package org.apache.cayenne.ashwood.graph
Class MapDigraph<E,V>
java.lang.Object
org.apache.cayenne.ashwood.graph.MapDigraph<E,V>
- All Implemented Interfaces:
Digraph<E,
,V> DigraphIteration<E,
V>
- Since:
- 3.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
addAllVertices
(Collection<? extends E> vertices) boolean
boolean
containsAllVertices
(Collection<? extends E> vertices) boolean
containsVertex
(E vertex) boolean
incomingIterator
(E vertex) int
incomingSize
(E vertex) boolean
isEmpty()
boolean
isIncomingEmpty
(E vertex) boolean
isOutgoingEmpty
(E vertex) int
order()
outgoingIterator
(E vertex) int
outgoingSize
(E vertex) boolean
removeAllVertices
(Collection<? extends E> vertices) boolean
removeIncoming
(E vertex) boolean
removeOutgoing
(E vertex) boolean
removeVertex
(E vertex) int
size()
-
Constructor Details
-
MapDigraph
public MapDigraph()
-
-
Method Details
-
addVertex
-
addAllVertices
- Specified by:
addAllVertices
in interfaceDigraph<E,
V>
-
putArc
-
getArc
-
removeVertex
- Specified by:
removeVertex
in interfaceDigraph<E,
V>
-
removeAllVertices
- Specified by:
removeAllVertices
in interfaceDigraph<E,
V>
-
removeArc
-
removeIncoming
- Specified by:
removeIncoming
in interfaceDigraph<E,
V>
-
removeOutgoing
- Specified by:
removeOutgoing
in interfaceDigraph<E,
V>
-
vertexIterator
- Specified by:
vertexIterator
in interfaceDigraphIteration<E,
V>
-
arcIterator
- Specified by:
arcIterator
in interfaceDigraphIteration<E,
V>
-
outgoingIterator
- Specified by:
outgoingIterator
in interfaceDigraphIteration<E,
V>
-
incomingIterator
- Specified by:
incomingIterator
in interfaceDigraphIteration<E,
V>
-
order
public int order() -
size
public int size() -
outgoingSize
- Specified by:
outgoingSize
in interfaceDigraph<E,
V>
-
incomingSize
- Specified by:
incomingSize
in interfaceDigraph<E,
V>
-
containsVertex
- Specified by:
containsVertex
in interfaceDigraph<E,
V>
-
containsAllVertices
- Specified by:
containsAllVertices
in interfaceDigraph<E,
V>
-
hasArc
-
isEmpty
public boolean isEmpty() -
isOutgoingEmpty
- Specified by:
isOutgoingEmpty
in interfaceDigraph<E,
V>
-
isIncomingEmpty
- Specified by:
isIncomingEmpty
in interfaceDigraph<E,
V>
-