Package org.apache.cayenne.ashwood.graph
Interface Digraph<E,V>
- All Superinterfaces:
- DigraphIteration<E,V>
- All Known Implementing Classes:
- MapDigraph
public interface Digraph<E,V> extends DigraphIteration<E,V>
- Since:
- 3.1
- 
Method SummaryModifier and Type Method Description booleanaddAllVertices(Collection<? extends E> vertices)booleanaddVertex(E vertex)booleancontainsAllVertices(Collection<? extends E> vertices)booleancontainsVertex(E vertex)VgetArc(E origin, E destination)booleanhasArc(E origin, E destination)intincomingSize(E vertex)booleanisEmpty()booleanisIncomingEmpty(E vertex)booleanisOutgoingEmpty(E vertex)intorder()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()Methods inherited from interface org.apache.cayenne.ashwood.graph.DigraphIterationarcIterator, incomingIterator, outgoingIterator, vertexIterator
- 
Method Details- 
addVertex
- 
addAllVertices
- 
putArc
- 
getArc
- 
removeVertex
- 
removeAllVertices
- 
removeArc
- 
removeIncoming
- 
removeOutgoing
- 
orderint order()
- 
sizeint size()
- 
outgoingSize
- 
incomingSize
- 
containsVertex
- 
containsAllVertices
- 
hasArc
- 
isEmptyboolean isEmpty()
- 
isOutgoingEmpty
- 
isIncomingEmpty
 
-