static IterableIterator valuesOfMagicMap(final Map map) { final Iterator i = keysIterator(map); ret new IterableIterator { public bool hasNext() { ret i.hasNext(); } public B next() { ret map.get(i.next()); } public void remove() { i.remove(); } }; }