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 boolean
addAllVertices(Collection<? extends E> vertices)
boolean
addVertex(E vertex)
boolean
containsAllVertices(Collection<? extends E> vertices)
boolean
containsVertex(E vertex)
V
getArc(E origin, E destination)
boolean
hasArc(E origin, E destination)
int
incomingSize(E vertex)
boolean
isEmpty()
boolean
isIncomingEmpty(E vertex)
boolean
isOutgoingEmpty(E vertex)
int
order()
int
outgoingSize(E vertex)
V
putArc(E origin, E destination, V arc)
boolean
removeAllVertices(Collection<? extends E> vertices)
Object
removeArc(E origin, E destination)
boolean
removeIncoming(E vertex)
boolean
removeOutgoing(E vertex)
boolean
removeVertex(E vertex)
int
size()
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
-