public InputVariable removeInputVariable ( String name ) { for ( Iterator < InputVariable > it = this . inputVariables . iterator ( ) ; it . hasNext ( ) ; ) { InputVariable inputVariable = it . next ( ) ; if ( inputVariable . getName ( ) . equals ( name ) ) { it . remove ( ) ; return inputVariable ; } } throw new RuntimeException ( String . format ( "[engine error] no input variable by name <%s>" , name ) ) ; }
Removes the given input variable from the list of input variables .