Traditionally, a range is a set if indices Low <= index <= High (range is not a strict term, but usually is in programming in this sense).

The class

`ListView`

represents the arbitrary found container of any items. Suppose you have some search criterion which tells you if something is "found" at any of the indices. When you perform the search throughout a whole list, you get some sub-set of indices which can be empty or may or may not form a range. For example, index 0 and 1 match, index to does not match, index 3 matches again. You can consider it as a set of ranges, but not a single range.After all, this is your search; it looks like you know how to do the search itself, as you did not ask about it. Perform the search and present the result the way you want, depending on the required behavior of your application. By the way, you did not share with us your requirements.

--SA