I need a map, and in the map I need a range with a key:
For example
Map<Range,Value> name;
where Range can be
for example values between 0 - 600, the other range can be 601 - 900, ...
And for example if I need name.containsKey(480) I need true because is in the first range, And If I need the value name.get(780) I need the value in the range 601-900
I don't know what is the best dataType to do it.
Thanks a lot.