Code example for HashMap

0
     */ 
    public static class TabManager implements TabHost.OnTabChangeListener {
        private final FragmentActivity mActivity;
        private final TabHost mTabHost;
        private final int mContainerId;
        private final HashMap<String, TabInfo> mTabs = new HashMap<String, TabInfo>();
        TabInfo mLastTab;
 
        static final class TabInfo { 
            private final String tag;
            private final Class<?> clss;
            private final Bundle args;
            private Fragment fragment;
 
            TabInfo(String _tag, Class<?> _class, Bundle _args) {
                tag = _tag;
                clss = _class;
                args = _args;
            } 
        }