|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbcds.phison.Link
public class Link
Defines an edge class that can be used with SimGraph
As it implements
Comparable, instances of this class can be used with
ordered collections.
Constructor Summary | |
---|---|
Link()
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object b)
Compares two Link objects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Link()
Method Detail |
---|
public int compareTo(java.lang.Object b)
b
is not null.
Note: this class has a natural ordering that is inconsistent with equals.
compareTo
in interface java.lang.Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |