groostav
10/07/2016, 11:39 PMint, and it's documented as follows:
the index of the search key, if it is contained in the list; otherwise,which is hideous and awful). The insertion point is defined as the point at which the key would be inserted into the list: the index of the first element greater than the key, or(-(insertion point) - 1)if all elements in the list are less than the specified key. Note that this guarantees that the return value will belist.size()if and only if the key is found.>= 0