Cacheable next; for(Iterator i = map.valueIterator(); i.hasNext(); ) { next = (Cacheable)i.next(); if(next.isDirty()) return true; }
Cacheable cacheable; SequencedLongHashMap.Entry next = map.getFirstEntry(); while(next != null) { cacheable = (Cacheable)next.getValue(); if(cacheable.isDirty()) return true; next = next.getNext(); }
    public boolean hasDirtyItems() {        Cacheable next;		for(Iterator i = map.valueIterator(); i.hasNext(); ) {			next = (Cacheable)i.next();			if(next.isDirty())			    return true;		}		return false;    }