Back to project page Profiterole.
The source code is released under:
Apache License
If you think the Android project Profiterole 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 profiterole.api; /*from w w w .ja v a 2s .com*/ import java.io.Serializable; import java.util.List; import java.util.Map.Entry; public interface Waffle<T extends Comparable<? super T>> extends Serializable{ public T get(String key); public boolean containsKey(String key); public boolean containsValue(String value); public long getTimeStamp(); public List<Entry<String, T>> getSortedUnModifiableList(); //Java can't put static modifier in interface public Waffle<T> update(String folder, ReduceStrategy<T> strategy); public Waffle<T> update(Waffle<T> other, ReduceStrategy<T> strategy); // TODO synchronization policy can be one or many objects interface ReduceStrategy<T> { T apply(T arg1, T arg2); } }