Cacheable old = super.removeOne(item); if(old != null) { names.remove(((Collection)old).getName());
Collection old; Lock lock; double rd = 0, minRd = -1; int bucket = -1; boolean unloadable; for (int i = 0; i < items.length; i++) { old = (Collection)items[i]; if (old == null) { bucket = i; break; } else { lock = old.getLock();  rd = old.getReferenceCount() / (double)(totalReferences - old.getTimestamp());    if(lock.attempt(Lock.READ_LOCK)) { if ((minRd < 0 || rd < minRd) && old.allowUnload()) { minRd = rd; bucket = i; } lock.release(); } }
	protected Cacheable removeOne(Cacheable item) {		Cacheable old = super.removeOne(item);		if(old != null) {			names.remove(((Collection)old).getName());		}		return old;	}