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
All Methods Instance Methods Abstract Methods 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 Detail
-
addVertex
boolean addVertex(E vertex)
-
addAllVertices
boolean addAllVertices(Collection<? extends E> vertices)
-
removeVertex
boolean removeVertex(E vertex)
-
removeAllVertices
boolean removeAllVertices(Collection<? extends E> vertices)
-
removeIncoming
boolean removeIncoming(E vertex)
-
removeOutgoing
boolean removeOutgoing(E vertex)
-
order
int order()
-
size
int size()
-
outgoingSize
int outgoingSize(E vertex)
-
incomingSize
int incomingSize(E vertex)
-
containsVertex
boolean containsVertex(E vertex)
-
containsAllVertices
boolean containsAllVertices(Collection<? extends E> vertices)
-
isEmpty
boolean isEmpty()
-
isOutgoingEmpty
boolean isOutgoingEmpty(E vertex)
-
isIncomingEmpty
boolean isIncomingEmpty(E vertex)
-
-