Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我如何检查一个数字是否在Android中的其他两个数字之间
if(number1.matches("[1024-65535]+")); else{
解决问题的一种方法是将所有需要比较的值转换为ints. 然后比较是微不足道的。
int