Back to project page Realtime-Port-Authority.
The source code is released under:
Apache License
If you think the Android project Realtime-Port-Authority 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 rectangledbmi.com.pittsburghrealtimetracker.handlers.containers; //from w w w. j a va2s . c om import com.google.android.gms.maps.model.LatLng; import java.util.LinkedList; import rectangledbmi.com.pittsburghrealtimetracker.world.LineInfo; /** * Container class for the the RequestLine Asynctask that gets the polylines and bus stop info. * * Will use a LinkedList<LinkedList<LatLng>> and BusStopInfo setter and getter * * Created by epicstar on 12/7/14. */ public class RequestLineContainer { private LinkedList<LinkedList<LatLng>> polylinesInfo; private LinkedList<LineInfo> busStopInfos; /** * General class to set the RequestLineContainer * * @param polylinesInfo LinkedList of a LinkedList of latlngs for the polylines * @param busStopInfos the bus stop info of the line */ public RequestLineContainer(LinkedList<LinkedList<LatLng>> polylinesInfo, LinkedList<LineInfo> busStopInfos) { setPolylinesInfo(polylinesInfo); setBusStopInfos(busStopInfos); } public void setPolylinesInfo(LinkedList<LinkedList<LatLng>> polylinesInfo) { this.polylinesInfo = polylinesInfo; } public void setBusStopInfos(LinkedList<LineInfo> busStopInfos) { this.busStopInfos = busStopInfos; } public LinkedList<LinkedList<LatLng>> getPolylinesInfo() { return polylinesInfo; } public LinkedList<LineInfo> getBusStopInfos() { return busStopInfos; } }