KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
This may be difficult to explain, but here goes: I want to store 3 integers and a String to a Hashmap, so I can retrieve data from the map, but it turns out that hashmaps only allow 2 generic parameters instead of 4. For example: HashMap <String> <Integer> <Integer> <Integer> (what I want to do) but you can only use 2 parameters, as it seems: HashMap <String> <Integer> . My best guess is that my idea cannot be done, if so please list the alternatives to handling something like this.
Tags (comma-separated)
Save Edits
Cancel