|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectNPTLab.CoordWrapper
public class CoordWrapper
Class that wraps th class Coord in an object that adds an univoque ID to a couple of Coordinates (x,y)
Constructor Summary | |
---|---|
CoordWrapper()
|
Method Summary | |
---|---|
static CoordWrapper |
createCoordWrap(core.Coord c)
Method to Create CW with coord calling the private constructor |
static CoordWrapper |
createDummyCoordWrap(core.Coord c)
Method to create a DummyCW with coord calling the private constructor |
core.Coord |
getCoord()
Method to the Coord cotnained in the CoordWrapper element |
int |
getID()
Returns the univocal ID of the CoordWrapper element |
java.lang.String |
toString()
Method for printing |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CoordWrapper()
Method Detail |
---|
public static CoordWrapper createCoordWrap(core.Coord c)
c
- Coord to be wrapped in the elment adding an ID
public static CoordWrapper createDummyCoordWrap(core.Coord c)
c
- Coord to be wrapped in the elment adding an ID
public core.Coord getCoord()
public int getID()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |