Back to project page yshi-cursor.
The source code is released under:
MIT License
If you think the Android project yshi-cursor 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 org.yshi.cursor; //from w ww. ja v a 2 s . co m import com.google.gson.Gson; /** * Created by sell on 20/11/13. */ @Deprecated public class GsonManager { private static GsonManager M_GSON_MANAGER; private Gson m_gson; private GsonManager() { m_gson = new Gson(); } public static GsonManager getInstance() { if (M_GSON_MANAGER == null) { M_GSON_MANAGER = new GsonManager(); } return M_GSON_MANAGER; } public Gson getGson() { return m_gson; } public void setGson(Gson gson) { m_gson = gson; } }