Guest User

Untitled

a guest
Oct 17th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. void foo()
  2. {
  3. Map<Integer,Character> map = new HashMap<Integer,Character>() ;
  4. bar(map)
  5. //operations on map
  6. }
  7. void bar(Map<Integer,Character> map)
  8. {
  9. Map<Integer,Character> map2 = new HashMap<Integer,Character>(map) ;
  10. //operations over map2
  11. }
Add Comment
Please, Sign In to add comment