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; /* ww w.j a va2 s . c om*/ import java.util.Map; public class Agency implements BaseInformationProvider,MapInitializable { private String mTag, mTitle, mShortTitle, mRegionTitle; public Agency (){ } public void init (Map<String, String> values){ mTag = values.get("tag"); mTitle = values.get("title"); mShortTitle = values.get("shortTitle"); mRegionTitle = values.get("regionTitle"); } @Override public String getTag() { return mTag; } @Override public String getTitle() { return mTitle; } public String getmShortTitle() { return mShortTitle; } public String getmRegionTitle() { return mRegionTitle; } }