Back to project page android-nextbus.
The source code is released under:
MIT License
If you think the Android project android-nextbus listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.andrei.nextbus.library.objects; /*from ww w . ja v a 2 s .c o m*/ import java.util.ArrayList; import java.util.List; public class Path { private List <Point> mPoints; public Path (List <Point> points){ mPoints = points; } public Path() { mPoints = new ArrayList <Point>(); } public void addPoint (Point point){ mPoints.add(point); } public List <Point> getPoints (){ return mPoints; } }