Back to project page android-maps-utils.
The source code is released under:
Apache License
If you think the Android project android-maps-utils 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. ja v a 2 s .co m*/ import java.util.Collection; import java.util.Set; import com.google.maps.android.clustering.Cluster; import com.google.maps.android.clustering.ClusterItem; /** * 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(); }