|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectNodeData
public class NodeData
The data associated with a node. At this point, this is simply the node type (labelled or unlabelled).
Constructor Summary | |
---|---|
NodeData(NodeType type)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
NodeType |
getType()
Returns the node type. |
int |
hashCode()
|
void |
setType(NodeType type)
Set the node type. |
String |
toString()
Returns a string representation of this node-data object. |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NodeData(NodeType type)
Method Detail |
---|
public NodeType getType()
public String toString()
toString
in class Object
public void setType(NodeType type)
type
- the new type of the nodepublic boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |