What's the purpose to bit-shift int value by zero?

前端 未结 3 1197
悲哀的现实
悲哀的现实 2021-01-17 14:09

Looking to the source code of java.nio.DirectByteBuffer class, I have found this:

if ((length << 0) > Bits.JNI_COPY_TO_ARRAY_THRESHOLD) ....
         


        
3条回答
提交回复
热议问题