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.list; // www .j ava 2s. c o m 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> loadListSlice(int limit, int offset); ArrayList<V> loadAll(); V getById(long id); }