Code example for Map

Methods: clear

0
	} 
 
	@Override 
	public void clear() { 
		usingCounts.clear();
		super.clear(); 
	} 
 
	@Override 
	protected int getSize(Bitmap value) {
		return value.getRowBytes() * value.getHeight();
	} 
 
	@Override 
	protected Bitmap removeNext() {
		Integer minUsageCount = null;
		Bitmap leastUsedValue = null;
		Set<Entry<Bitmap, Integer>> entries = usingCounts.entrySet();
		synchronized (usingCounts) {
			for (Entry<Bitmap, Integer> entry : entries) {
				if (leastUsedValue == null) {