KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a hashtable named table . The type value is long . I am getting values using .values() . Now I want to access these values. Collection val = table.values(); Iterator itr = val.iterator(); long a = (long)itr.next(); But when I try to get it, it gives me error because I can't convert from type object to long . How can I go around it?
Tags (comma-separated)
Save Edits
Cancel