E get(E key)
    {
        int idx = indexOf(key);
        if (idx >= 0)
        {
            return list.get(idx);
        }
        return null;
    }
E get ( E key ) { int idx = indexOf ( key ) ; if ( idx >= 0 ) { return list . get ( idx ) ; } return null ; }
Returns item if it is found in binary-search
@param key
@param predicate
@return