if (getUid().matches("[0-9]+")) { Log.v("纯数字");} else { Log.v("非纯数字");} 相关文章: 2021-11-11 2022-02-05 2022-02-03 2022-12-23 2022-12-23 2021-09-26