Back to project page android-model-record.
The source code is released under:
MIT License
If you think the Android project android-model-record 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.fanpics.opensource.android.modelrecord.configuration; // w ww.jav a 2s . com import com.fanpics.opensource.android.modelrecord.RecordCache; import java.util.List; public class MultiRecordConfiguration<T> extends BaseRecordConfiguration<List<T>> { private RecordCache<T> cache; public MultiRecordConfiguration() { } public MultiRecordConfiguration(Type type) { super(type); } public void setCache(RecordCache<T> cache) { this.cache = cache; } public RecordCache<T> getCache() { return cache; } public void removeCache() { cache = null; } @Override protected boolean hasCache() { return cache != null; } }