Android Open Source - yshi-cursor Gson Manager






From Project

Back to project page yshi-cursor.

License

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.

Java Source Code

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;
    }
}




Java Source Code List

org.yshi.cursor.AbstractRequestProcessor.java
org.yshi.cursor.AlreadyRequesting.java
org.yshi.cursor.BackedCollection.java
org.yshi.cursor.ContinuedCursorRequestProcessor.java
org.yshi.cursor.CursorCollection.java
org.yshi.cursor.CursorState.java
org.yshi.cursor.GsonManager.java
org.yshi.cursor.InitialRequestProcessor.java
org.yshi.cursor.TerminalCollection.java