public class SceneGraphRelation extends java.lang.Object implements java.lang.Comparable<SceneGraphRelation>
Constructor and Description |
---|
SceneGraphRelation(SceneGraphNode source,
SceneGraphNode target,
java.lang.String relation) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SceneGraphRelation o) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getRelation() |
SceneGraphNode |
getSource() |
SceneGraphNode |
getTarget() |
int |
hashCode() |
public SceneGraphRelation(SceneGraphNode source, SceneGraphNode target, java.lang.String relation)
public SceneGraphNode getSource()
public SceneGraphNode getTarget()
public java.lang.String getRelation()
public int compareTo(SceneGraphRelation o)
compareTo
in interface java.lang.Comparable<SceneGraphRelation>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object