Back to project page downtown.
The source code is released under:
GNU General Public License
If you think the Android project downtown 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.google.maps.android.clustering.algo; /*w w w. j a v a2 s . c om*/ import com.google.android.gms.maps.Projection; import com.google.maps.android.clustering.Cluster; import com.google.maps.android.clustering.ClusterItem; import java.util.Collection; import java.util.Set; /** * Logic for computing clusters */ public interface Algorithm<T extends ClusterItem> { void addItem(T item); void addItems(Collection<T> items); void clearItems(); void removeItem(T item); Set<? extends Cluster<T>> getClusters(double zoom); Collection<T> getItems(); }