| Constructor and Description |
|---|
SplitPair(V v,
V u)
Construct a split pair consisting of the two given vertices
|
SplitPair(V v,
V u,
int type)
Construct a split pair consisting of the two given vertices and of the
specified type
|
public SplitPair(V v, V u)
v - The first split pair vertexu - The second split pair vertexpublic V getV()
public void setV(V v)
v - The first vertex of the pair to setpublic V getU()
public void setU(V u)
u - The second vertex of he pair to setpublic int getType()
public void setType(int type)
type - Type of the pair to set (1 or 2)public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object