Java tutorial
import java.util.HashMap; import java.util.Iterator; import java.util.Map; public class Main { public static void main(String[] argv) throws Exception { Map map = new HashMap(); for (Iterator it = map.values().iterator(); it.hasNext();) { Object value = it.next(); } } }