Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Map<Object, Map<Object, Map<Object, Object>>> map = new HashMap<>();
- /**
- * put operations
- **/
- Map<Object, Map<Object, Object>> a = null;
- Map<Object, Object> b = null;
- Object c = null;
- a = map.get(/*some object*/);
- if(a != null) {
- b = a.get(/*some object*/);
- }
- if(b != null) {
- c = b.get(/*some object*/);
- }
- if(c != null) {
- /*do what I want to do*/
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement