protected int findFunctionInputDef ( String name ) { int functionCount = name == null ? 0 : functionInputDefs_ . size ( ) ; int i ; for ( i = 0 ; i < functionCount && ! name . equals ( functionInputDefs_ . get ( i ) . getName ( ) ) ; i ++ ) ; return i < functionCount ? i : - 1 ; }
Returns the index of the function definition with the given name .