Class AbstractAlgorithm<T extends ClusterItem>
- java.lang.Object
-
- com.google.maps.android.clustering.algo.AbstractAlgorithm<T>
-
- All Implemented Interfaces:
Algorithm<T>
- Direct Known Subclasses:
GridBasedAlgorithm
,NonHierarchicalDistanceBasedAlgorithm
,PreCachingAlgorithmDecorator
,ScreenBasedAlgorithmAdapter
public abstract class AbstractAlgorithm<T extends ClusterItem> extends java.lang.Object implements Algorithm<T>
Base Algorithm class that implements lock/unlock functionality.
-
-
Constructor Summary
Constructors Constructor Description AbstractAlgorithm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
lock()
void
unlock()
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.google.maps.android.clustering.algo.Algorithm
addItem, addItems, clearItems, getClusters, getItems, getMaxDistanceBetweenClusteredItems, removeItem, removeItems, setMaxDistanceBetweenClusteredItems, updateItem
-
-
-
-
Method Detail
-
lock
public void lock()
- Specified by:
lock
in interfaceAlgorithm<T extends ClusterItem>
-
unlock
public void unlock()
- Specified by:
unlock
in interfaceAlgorithm<T extends ClusterItem>
-
-