public class SingleObjectRepository<T>
extends java.lang.Object
Created by dekalo on 01.02.16.
Constructor and Description |
---|
SingleObjectRepository(android.content.Context context,
java.lang.String key,
java.lang.Class<? extends T> clazz,
T defaultValue) |
Modifier and Type | Method and Description |
---|---|
T |
get() |
<any> |
observe() |
void |
put(T value) |
void |
putSync(T value) |
void |
remove() |
void |
removeSync() |