I have searched through the StackOverflow yet couldn't find my question.
I have some data like this:
object a -> min:3 max:13
object b -> min:11 max:20
object c -> min:16 max:21
...
z-> min:200 max:250
For a specified interval, I expect a, b, c or other objects or a list.
For example if (6,8) is passed then I want to have "a", if (12,13) is passed I want to have a list of "a and b", if (17, 20) is passed I want to have a list of "b and c" and if (3,250) then I want to have a list of all.
I don't know in which type of collection I should store the values (3, 13, object a) and others.
Can you name the collection and give an example?
Thanks in advance...
p.s. sorry if I couldn't describe well because of my English and thank you all