>>126
おっさん、true と false + 否定が逆だろう。それだと最初の 1 文字目が数字なら
必ず true で返るぞ。

俺はこうするが

try{
  Integer.parseInt(str);
  return true;
} catch(NumberFormatException ex){/* */}
return false;