KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How can I safely cast a Map to a hash Map? I want to avoid class cast exception HashMap<String, String> hMap; public void setHashMap(Map map){ hMap = (HashMap<String, String>) map; }
Tags (comma-separated)
Save Edits
Cancel