public static class SplitDockPathProperty.Node
extends java.lang.Object
Constructor and Description |
---|
Node(SplitDockPathProperty.Location location,
double size,
long id)
Creates a new turn.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
long |
getId()
Gets the unique id of the
SplitNode that is represented
by this node. |
SplitDockPathProperty.Location |
getLocation()
Gets the direction into which the path goes
|
double |
getSize()
Gets the amount of space the path gets in this turn
|
int |
hashCode() |
java.lang.String |
toString() |
public Node(SplitDockPathProperty.Location location, double size, long id)
location
- the direction into which the path goessize
- the amount of space the path gets in this turnid
- the unique id of this node or -1public double getSize()
public SplitDockPathProperty.Location getLocation()
public long getId()
SplitNode
that is represented
by this node.public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object