|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kiml.util.KGraphHash
public class KGraphHash
A helper class to compute hash values from a layout graph.
Constructor Summary | |
---|---|
KGraphHash(KNode thetopNode)
Creates a KGraph hash instance. |
Method Summary | |
---|---|
int |
compare(KNode node1,
KNode node2)
|
int |
compareTo(KGraphHash other)
|
boolean |
equals(Object object)
|
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KGraphHash(KNode thetopNode)
thetopNode
- the top level node of the layout graphMethod Detail |
---|
public boolean equals(Object object)
equals
in interface Comparator<KNode>
equals
in class Object
public int compare(KNode node1, KNode node2)
compare
in interface Comparator<KNode>
public int compareTo(KGraphHash other)
compareTo
in interface Comparable<KGraphHash>
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |