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 TypeMethodDescriptionbooleanaddAllVertices(Collection<? extends E> vertices) booleanbooleancontainsAllVertices(Collection<? extends E> vertices) booleancontainsVertex(E vertex) booleanincomingIterator(E vertex) intincomingSize(E vertex) booleanisEmpty()booleanisIncomingEmpty(E vertex) booleanisOutgoingEmpty(E vertex) intorder()outgoingIterator(E vertex) intoutgoingSize(E vertex) booleanremoveAllVertices(Collection<? extends E> vertices) booleanremoveIncoming(E vertex) booleanremoveOutgoing(E vertex) booleanremoveVertex(E vertex) intsize()
-
Constructor Details
-
MapDigraph
public MapDigraph()
-
-
Method Details
-
addVertex
-
addAllVertices
- Specified by:
addAllVerticesin interfaceDigraph<E,V>
-
putArc
-
getArc
-
removeVertex
- Specified by:
removeVertexin interfaceDigraph<E,V>
-
removeAllVertices
- Specified by:
removeAllVerticesin interfaceDigraph<E,V>
-
removeArc
-
removeIncoming
- Specified by:
removeIncomingin interfaceDigraph<E,V>
-
removeOutgoing
- Specified by:
removeOutgoingin interfaceDigraph<E,V>
-
vertexIterator
- Specified by:
vertexIteratorin interfaceDigraphIteration<E,V>
-
arcIterator
- Specified by:
arcIteratorin interfaceDigraphIteration<E,V>
-
outgoingIterator
- Specified by:
outgoingIteratorin interfaceDigraphIteration<E,V>
-
incomingIterator
- Specified by:
incomingIteratorin interfaceDigraphIteration<E,V>
-
order
public int order() -
size
public int size() -
outgoingSize
- Specified by:
outgoingSizein interfaceDigraph<E,V>
-
incomingSize
- Specified by:
incomingSizein interfaceDigraph<E,V>
-
containsVertex
- Specified by:
containsVertexin interfaceDigraph<E,V>
-
containsAllVertices
- Specified by:
containsAllVerticesin interfaceDigraph<E,V>
-
hasArc
-
isEmpty
public boolean isEmpty() -
isOutgoingEmpty
- Specified by:
isOutgoingEmptyin interfaceDigraph<E,V>
-
isIncomingEmpty
- Specified by:
isIncomingEmptyin interfaceDigraph<E,V>
-