Back to project page acs-android-sdk.
The source code is released under:
Apache License
If you think the Android project acs-android-sdk 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.appcelerator.cloud.demo; /* ww w .ja v a2 s . c o m*/ import java.util.HashMap; import java.util.Map; public class DemoSession { private Map<String, Object> map = null; public DemoSession(){ map = new HashMap<String, Object>(); } public void setAttribute(String key, Object value){ if(value != null) map.put(key, value); else map.remove(key); } public Object getAttribute(String key){ return map.get(key); } public Map<String, Object> getMap() { return map; } }