33 lines
739 B
Java
33 lines
739 B
Java
package com.google.maps.android.clustering.algo;
|
|
|
|
import com.google.maps.android.clustering.Cluster;
|
|
import com.google.maps.android.clustering.ClusterItem;
|
|
import java.util.Collection;
|
|
import java.util.Set;
|
|
|
|
/* JADX INFO: loaded from: classes2.dex */
|
|
public interface Algorithm<T extends ClusterItem> {
|
|
boolean addItem(T t);
|
|
|
|
boolean addItems(Collection<T> collection);
|
|
|
|
void clearItems();
|
|
|
|
Set<? extends Cluster<T>> getClusters(float f);
|
|
|
|
Collection<T> getItems();
|
|
|
|
int getMaxDistanceBetweenClusteredItems();
|
|
|
|
void lock();
|
|
|
|
boolean removeItem(T t);
|
|
|
|
boolean removeItems(Collection<T> collection);
|
|
|
|
void setMaxDistanceBetweenClusteredItems(int i);
|
|
|
|
void unlock();
|
|
|
|
boolean updateItem(T t);
|
|
} |