public static < T > int findIndexOf ( T [ ] self , int startIndex , @ ClosureParams ( FirstParam . Component . class ) Closure condition ) { return findIndexOf ( new ArrayIterator < T > ( self ) , startIndex , condition ) ; }
Iterates over the elements of an Array starting from a specified startIndex and returns the index of the first item that satisfies the condition specified by the closure .