Difference between Byte.compare() and Equality check (i.e. ==) when comparing 2 bytes in Java

前端 未结 0 907
再見小時候
再見小時候 2021-02-06 19:18

What is the difference between these two cases? Would the equality check be wrong? If not, which one is faster?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题