@ Pure @ SuppressWarnings ( "static-method" ) public boolean isParameterExists ( int index ) { final String [ ] params = getCommandLineParameters ( ) ; return index >= 0 && index < params . length && params [ index ] != null ; }
Replies if the given index corresponds to a command line parameter .