Skip to content

Instantly share code, notes, and snippets.

@Buravo46
Created March 27, 2018 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Buravo46/0b21c083279836564866dbe31458f9e0 to your computer and use it in GitHub Desktop.
Save Buravo46/0b21c083279836564866dbe31458f9e0 to your computer and use it in GitHub Desktop.
【Java】ユーティリティクラス
/**
* Created by Buravo on 2017/02/27.
*/
public class Util {
private Util() {}
public static String GetParameter(String[] args, String param) {
for(int i = 0; i <= args.length; i++){
if(args[i].equals(param)){
return args[i++];
}
}
return "not support parameter : " + param;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment