I have a situation where I want to store a bitmap(Object), int value(speed of bitmap) and another index value to access these other 2. Any ideas? Was thinking in using HashMap however, hashmaps only deals with the Object and Index, but need another integer value that will be associated with that specific Object!
I have a situation where I want to store a bitmap(Object) , int value(speed
Share
It looks like you need a dedicated type for the bitmap and the speed. If the index is used to retrieve the other two values, pack them into a type:
and use a
HashMap