Andrei Alexandrescu: > assumeSorted(range).contains(object) > > is still one line, safer, and IMHO more self-explanatory. It's self-explanatory if the name there contains something like "binarySearch". Otherwise it is NOT self-explanatory, I can't assume it will use a binary search. So it's surely not intuitive. Bye, bearophile