private static int lastIndexOf ( String source , String target , int startIndex , IntBinaryOperator comparator ) { return lastIndexOf ( source , 0 , source . length ( ) , target , 0 , target . length ( ) , startIndex , comparator ) ; }
Returns the index of the previous appearance of the given target in the given source starting at the given index using the given comparator for characters . Returns - 1 if the target string is not found .