Map.Entry entry; for(Iterator it=sent.entrySet().iterator(); it.hasNext();) { entry=(Map.Entry)it.next(); entry.setValue(max_credits_constant);
Map.Entry entry; for(Iterator it=sent.entrySet().iterator(); it.hasNext();) { entry=(Map.Entry)it.next(); entry.setValue(max_credits_constant); }  lowest_credit=computeLowestCredit(sent); creditors.clear(); insufficient_credit=false; mutex.broadcast();
    public void unblock() {        synchronized(mutex) {            if(trace)                log.trace("unblocking the sender and replenishing all members, creditors are " + creditors);            Map.Entry entry;            for(Iterator it=sent.entrySet().iterator(); it.hasNext();) {                entry=(Map.Entry)it.next();                entry.setValue(max_credits_constant);            }            lowest_credit=computeLowestCredit(sent);            creditors.clear();            insufficient_credit=false;            mutex.notifyAll();        }    }