当我尝试比较BigInteger和int:
BigInteger balance = new BigInteger(out_str.substring(186, 201).trim());
if (!balance.equals(0)) {...}
Run Code Online (Sandbox Code Playgroud)
我明白了:
不可逆类型'int'和'BigInteger'的对象之间的equals()
| 归档时间: |
|
| 查看次数: |
391 次 |
| 最近记录: |