public class DirectedEdgeVector<VertexType> extends UndirectedEdgeVector<VertexType> implements DirectedEdge<VertexType>
Constructor and Description |
---|
DirectedEdgeVector(VertexType sourceVertex,
VertexType targetVertex) |
Modifier and Type | Method and Description |
---|---|
VertexType |
getSourceVertex() |
java.util.Set<VertexType> |
getSourceVertices() |
VertexType |
getTargetVertex() |
java.util.Set<VertexType> |
getTargetVertices() |
java.lang.String |
toString() |
containsAllVertices, containsVertex, getVertices
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, trimToSize
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAllVertices, containsVertex, getVertices
public DirectedEdgeVector(VertexType sourceVertex, VertexType targetVertex)
public java.util.Set<VertexType> getSourceVertices()
getSourceVertices
in interface DirectedHyperEdge<VertexType>
public java.util.Set<VertexType> getTargetVertices()
getTargetVertices
in interface DirectedHyperEdge<VertexType>
public VertexType getSourceVertex()
getSourceVertex
in interface DirectedEdge<VertexType>
public VertexType getTargetVertex()
getTargetVertex
in interface DirectedEdge<VertexType>
public java.lang.String toString()
toString
in class UndirectedEdgeVector<VertexType>