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; // w w w .ja v a2 s . c o m import java.util.ArrayList; import java.util.List; public class ScheduledStop { private List <TimePair> times; private String tag; private String title; public ScheduledStop (String tag){ this.tag = tag; times = new ArrayList <TimePair>(); } public void addTime (TimePair t){ times.add(t); } public String getTag () { return tag; } public String getTitle (){ return title; } public void setTitle (String title){ this.title = title; } public List <TimePair> getTimes (){ return times; } }