|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthamlet.Edge
public class Edge
Constructor Summary | |
---|---|
Edge()
default constructor constructs a edge with all values as zero |
|
Edge(int t,
int s,
int d)
constructor creates an edge initialized to given parameters |
Method Summary | |
---|---|
int |
getDest()
method to retrieve dest vert |
int |
getSource()
method to retrieve source vert |
int |
getType()
method to retrieve edge type possibli values are eType,5,SUPER eType,6,SUB eType,7,USES |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Edge()
public Edge(int t, int s, int d)
t
- int representing edge types
- int representing source vertd
- int representing dest vertMethod Detail |
---|
public int getType()
public int getSource()
public int getDest()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |