Back to project page droidkit-engines.
The source code is released under:
MIT License
If you think the Android project droidkit-engines 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.droidkit.engine.keyvalue; /*from w w w. j a va 2 s. c om*/ import java.util.ArrayList; public interface StorageAdapter<V> { void insertSingle(V item); void insertOrReplaceSingle(V item); void deleteSingle(long id); void insertBatch(ArrayList<V> items); void insertOrReplaceBatch(ArrayList<V> items); void deleteBatch(ArrayList<Long> ids); void deleteAll(); ArrayList<V> loadAll(); V getById(long id); //todo ad getByIds }