java - How to iterate a map from another map? -


i have map key integer , value map. want know how iterate through second map.

private map<integer,map<integer,integer>> transition = new hashmap<integer, map<integer, integer>>(); 

private map<integer,map<integer,integer>> transition = new hashmap<integer, map<integer, integer>>(); (integer outerkey : transition.keyset()) {     map<integer, integer> inner = transition.get(outerkey);     (integer innerkey : inner.keyset()) {         integer value = inner.get(innerkey);     } } 

Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -