public class WnsimUtils extends Object
Constructor and Description |
---|
WnsimUtils() |
Modifier and Type | Method and Description |
---|---|
static String[] |
checkArgsOrDie(String[] args,
int numArgs,
String className,
String argDesc)
explicitly force failure if array of parameters is not suitable for a
given main() method
|
public static String[] checkArgsOrDie(String[] args, int numArgs, String className, String argDesc)
args
- arguments to be checkednumArgs
- how many arguments there should beclassName
- name of client (for error reporting)argDesc
- description of arguments requiredCopyright © 2017. All rights reserved.