public static Option findListOption ( Option [ ] options ) { for ( int i = 0 ; i < options . length ; i ++ ) { if ( options [ i ] . getType ( ) == Type . LIST ) { return options [ i ] ; } } return null ; }
Returns a list type application option if one exists in the list provided .