I need to get a collection from the java HashMap without the changes in the map reflecting in the collection later . I wanted to use Collection.toArray() to achieve this , b
Google collections Immutable Map may help you.
see Collections.unmodifiableMap also