com.backendless.persistence.local.CodeRunnerUserIdStorage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android Show documentation
Show all versions of android Show documentation
Android SDK used by developers to provide Backendless API in apps.
package com.backendless.persistence.local;
/**
* Created with IntelliJ IDEA.
* User: Eugene Chipachenko
* Date: 11/4/14
* Time: 13:56
*/
class CodeRunnerUserIdStorage implements IStorage
{
private static final CodeRunnerUserIdStorage instance = new CodeRunnerUserIdStorage();
private String userToken;
public static CodeRunnerUserIdStorage instance()
{
return instance;
}
private CodeRunnerUserIdStorage()
{
}
@Override
public String get()
{
return userToken;
}
@Override
public void set( String value )
{
userToken = value;
}
}