Android Open Source - Profiterole Waffle






From Project

Back to project page Profiterole.

License

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.

Java Source Code

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);
  }
}




Java Source Code List

profiterole.android.DictionaryScreen.java
profiterole.android.SearchScreen.java
profiterole.api.MapReduce.java
profiterole.api.OnUpdateStatusCallback.java
profiterole.api.Waffle.java
profiterole.mapreduce.MapCallback.java
profiterole.mapreduce.MapReduceService.java
profiterole.mapreduce.Reducer.java
profiterole.mapreduce.Splitter.java
profiterole.samples.Driver.java
profiterole.samples.PrintPromptListener.java
profiterole.samples.REPL.java
profiterole.waffle.InvertedIndex.java
profiterole.waffle.WaffleBackend.java
profiterole.waffle.WaffleImpl.java
profiterole.waffle.WaffleUtils.java