edu.uci.ics.jung.algorithms.scoring.util
Class VEPair<V,E>
java.lang.Object
edu.uci.ics.jung.algorithms.scoring.util.VEPair<V,E>
- Type Parameters:
V
- the vertex typeE
- the edge type
public class VEPair<V,E>
- extends Object
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VEPair
public VEPair(V v,
E e)
- Creates an instance with the specified vertex and edge
- Parameters:
v
- the vertex to adde
- the edge to add
getV
public V getV()
getE
public E getE()
Copyright © 2008 null. All Rights Reserved.