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 Summary
Modifier 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.DigraphIteration
arcIterator, incomingIterator, outgoingIterator, vertexIterator
-
Method Details
-
addVertex
-
addAllVertices
-
putArc
-
getArc
-
removeVertex
-
removeAllVertices
-
removeArc
-
removeIncoming
-
removeOutgoing
-
order
int order() -
size
int size() -
outgoingSize
-
incomingSize
-
containsVertex
-
containsAllVertices
-
hasArc
-
isEmpty
boolean isEmpty() -
isOutgoingEmpty
-
isIncomingEmpty
-