Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void foo()
- {
- Map<Integer,Character> map = new HashMap<Integer,Character>() ;
- bar(map)
- //operations on map
- }
- void bar(Map<Integer,Character> map)
- {
- Map<Integer,Character> map2 = new HashMap<Integer,Character>(map) ;
- //operations over map2
- }
Add Comment
Please, Sign In to add comment