|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.klodd.hierarchical.structures.slimgraph.KSlimGraphElement
public abstract class KSlimGraphElement
An element of a slim graph, which can be a node, an edge or a face.
Constructor Summary | |
---|---|
KSlimGraphElement()
|
Method Summary | |
---|---|
int |
compareTo(KSlimGraphElement other)
Compares this with another Object. |
boolean |
equals(Object other)
|
int |
getId()
Returns the id. |
Object |
getObject()
Returns the object. |
int |
getRank()
Returns the rank. |
int |
hashCode()
|
protected void |
setId(int theid)
Sets the id. |
protected void |
setObject(Object theobject)
Sets the object. |
void |
setRank(int therank)
Sets the rank. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KSlimGraphElement()
Method Detail |
---|
public int compareTo(KSlimGraphElement other)
compareTo
in interface Comparable<KSlimGraphElement>
other
- the object to compare with
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
protected void setId(int theid)
theid
- the id to setpublic int getId()
public void setRank(int therank)
therank
- the rank to setpublic int getRank()
protected void setObject(Object theobject)
theobject
- the object to setpublic Object getObject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |