I don't know if a hashmap is the right variable type for what I am trying to do.
I'm trying to create an array. The keys are big integers (can be up to 4 billion) that are not in sequence. The values are 4 figure integers.I get a compile error: code too large.PHP Code:Map<Integer,Integer> Vname = new HashMap<Integer,Integer>();
Vname.put(0x80e4985d,11); // plus 49,000 more
What's going wrong? Is there a better way to do this?


Reply With Quote
Bookmarks