📅  最后修改于: 2022-03-11 14:52:45.955000             🧑  作者: Mango
//Add this to your code and call
static private boolean isMyNumber(String s){
try{
Integer.parseInt(s);
return true;
}catch (Exception e){
return false;
}
}