On Thu, Aug 11, 2016 at 9:12 PM, Vladimir Ozerov <[email protected]> wrote:
> One question is whether we really want to return *List*. This way we > intrinsically limit ourselves to O(N) search time. > May be it makes sense to relax this constraint to *Collection*? > Vova, I think it makes sense to return List. If a user is asking for a key between index 1 to 5, then he can do direct index look-ups into the result to get a certain value. Why do you see a problem with that?
