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 . j a va 2 s . co m*/ import java.util.Map; public class Route implements BaseInformationProvider,MapInitializable { private String mTitle, mTag; public Route (){ } public Route (String tag, String title){ mTag = tag; mTitle = title; } public void init (Map<String, String> map) { mTag = map.get("tag"); mTitle = map.get("title"); } @Override public String getTag() { return mTag; } @Override public String getTitle() { return mTitle; } }