I want Suggestion that which one is better based on performance?
List<byte[]>
or
HashMap<String,byte[]>
For me key doesnt matter. I’m going to store only list size of 2 in object. First one represent one constant and another represent another constant.
Also is there any better way of solution other than two also please suggest me.
Thanks in Advance.
Why not create a pojo class to hold the values ?