|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.uci.ics.jung.algorithms.scoring.util.VEPair<V,E>
V
- the vertex typeE
- the edge typepublic class VEPair<V,E>
Convenience class for associating a vertex and an edge. Used, for example, in contexts in which it is necessary to know the origin for an edge traversal (that is, the direction in which an (undirected) edge is being traversed).
Constructor Summary | |
---|---|
VEPair(V v,
E e)
Creates an instance with the specified vertex and edge |
Method Summary | |
---|---|
E |
getE()
Returns the edge of this pair. |
V |
getV()
Returns the vertex of this pair. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VEPair(V v, E e)
v
- the vertex to adde
- the edge to addMethod Detail |
---|
public V getV()
public E getE()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |