Back to project page kvs-schema.
The source code is released under:
MIT License
If you think the Android project kvs-schema 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.rejasupotaro.android.kvs; /* ww w.j a v a 2 s . c om*/ import java.util.Set; public abstract class Schema { protected abstract void putBoolean(String key, boolean value); protected abstract void putString(String key, String value); protected abstract void putFloat(String key, float value); protected abstract void putInt(String key, int value); protected abstract void putLong(String key, long value); protected abstract void putStringSet(String key, Set<String> value); protected abstract boolean getBoolean(String key, boolean defValue); protected abstract String getString(String key, String defValue); protected abstract float getFloat(String key, float defValue); protected abstract int getInt(String key, int defValue); protected abstract long getLong(String key, long defValue); protected abstract Set<String> getStringSet(String key, Set<String> defValue); protected abstract boolean has(String key); protected abstract void remove(String key); public abstract void clear(); }