-
Notifications
You must be signed in to change notification settings - Fork 170
Open
Description
public static void main(String[] args) throws Exception {
int count = 1;
String serverHost = "127.0.0.1";
int sleep = 1000;
if (args != null && args.length > 0) {
count = Integer.parseInt(args[0]);
if (args.length > 1) {
serverHost = args[1];
}
if (args.length > 2) {
sleep = Integer.parseInt(args[1]);
}
这块取的参数都是一个呀?
Metadata
Metadata
Assignees
Labels
No labels