|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcmsc433.p3.STPath
public class STPath
The STPath class is a non-thread-safe implementation of the
Path class.
| Constructor Summary | |
|---|---|
STPath()
|
|
| Method Summary | |
|---|---|
void |
addPoint(Point p)
Adds a point to the end of this path. |
java.util.List<Point> |
getPoints()
Returns the list of points that define this path. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public STPath()
| Method Detail |
|---|
public java.util.List<Point> getPoints()
Path
getPoints in interface Pathpublic void addPoint(Point p)
addPoint in interface Pathp - - the point to add
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||