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>
public class MapDigraph<E,V> extends Object implements Digraph<E,V>
- Since:
- 3.1
- 
Constructor SummaryConstructors Constructor Description MapDigraph()
- 
Method SummaryModifier and Type Method Description booleanaddAllVertices(Collection<? extends E> vertices)booleanaddVertex(E vertex)ArcIterator<E,V>arcIterator()booleancontainsAllVertices(Collection<? extends E> vertices)booleancontainsVertex(E vertex)VgetArc(Object origin, Object destination)booleanhasArc(E origin, E destination)ArcIterator<E,V>incomingIterator(E vertex)intincomingSize(E vertex)booleanisEmpty()booleanisIncomingEmpty(E vertex)booleanisOutgoingEmpty(E vertex)intorder()ArcIterator<E,V>outgoingIterator(E vertex)intoutgoingSize(E vertex)VputArc(E origin, E destination, V arc)booleanremoveAllVertices(Collection<? extends E> vertices)ObjectremoveArc(E origin, E destination)booleanremoveIncoming(E vertex)booleanremoveOutgoing(E vertex)booleanremoveVertex(E vertex)intsize()Iterator<E>vertexIterator()
- 
Constructor Details- 
MapDigraphpublic MapDigraph()
 
- 
- 
Method Details- 
addVertex
- 
addAllVertices- Specified by:
- addAllVerticesin interface- Digraph<E,V>
 
- 
putArc
- 
getArc
- 
removeVertex- Specified by:
- removeVertexin interface- Digraph<E,V>
 
- 
removeAllVertices- Specified by:
- removeAllVerticesin interface- Digraph<E,V>
 
- 
removeArc
- 
removeIncoming- Specified by:
- removeIncomingin interface- Digraph<E,V>
 
- 
removeOutgoing- Specified by:
- removeOutgoingin interface- Digraph<E,V>
 
- 
vertexIterator- Specified by:
- vertexIteratorin interface- DigraphIteration<E,V>
 
- 
arcIterator- Specified by:
- arcIteratorin interface- DigraphIteration<E,V>
 
- 
outgoingIterator- Specified by:
- outgoingIteratorin interface- DigraphIteration<E,V>
 
- 
incomingIterator- Specified by:
- incomingIteratorin interface- DigraphIteration<E,V>
 
- 
orderpublic int order()
- 
sizepublic int size()
- 
outgoingSize- Specified by:
- outgoingSizein interface- Digraph<E,V>
 
- 
incomingSize- Specified by:
- incomingSizein interface- Digraph<E,V>
 
- 
containsVertex- Specified by:
- containsVertexin interface- Digraph<E,V>
 
- 
containsAllVertices- Specified by:
- containsAllVerticesin interface- Digraph<E,V>
 
- 
hasArc
- 
isEmptypublic boolean isEmpty()
- 
isOutgoingEmpty- Specified by:
- isOutgoingEmptyin interface- Digraph<E,V>
 
- 
isIncomingEmpty- Specified by:
- isIncomingEmptyin interface- Digraph<E,V>
 
 
-