Advertisement
Guest User

Untitled

a guest
Dec 25th, 2014
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. Map<Object, Map<Object, Map<Object, Object>>> map = new HashMap<>();
  2. /**
  3. * put operations
  4. **/
  5. Map<Object, Map<Object, Object>> a = null;
  6. Map<Object, Object> b = null;
  7. Object c = null;
  8. a = map.get(/*some object*/);
  9. if(a != null) {
  10. b = a.get(/*some object*/);
  11. }
  12. if(b != null) {
  13. c = b.get(/*some object*/);
  14. }
  15. if(c != null) {
  16. /*do what I want to do*/
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement