for (Iterator i = all() ; i.hasNext() ;) {
for (Iterator i = iterator() ; i.hasNext() ;) {
    public synchronized void print() {        for (Iterator i = all() ; i.hasNext() ;) {            for (CacheNode n = (CacheNode) i.next(); n != null; n = n.next) {                System.out.println(n.value);            }        }    }