public static int findIndexOf ( Object self , int startIndex , Closure condition ) { return findIndexOf ( InvokerHelper . asIterator ( self ) , condition ) ; }
Iterates over the elements of an aggregate of items starting from a specified startIndex and returns the index of the first item that matches the condition specified in the closure .