本文介绍了deepHash code。与字节数组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 由于某些原因, Arrays.deepHash code()不能字节工作[] 。是否有任何其他同等?For some reason, Arrays.deepHashCode() cannot work with byte[].Is there any other equivalent?推荐答案首先,没有必要深。这是一个原始的。你不需要深。First off, no need for "Deep". It's a primitive. You don't need Deep.只需使用Arrays.hash$c$c(byte[] yourArray)编辑:为了澄清,深意味着钻研包含在数组中的对象。既然你正在处理一个原始的,你只需要使用原始值本身在计算中。这就是为什么没有一个方法,深基元左右旋转。 To clarify, Deep implies delving into the Objects contained within the array. Given that you are dealing with a primitive, you just need to use the primitive value itself in the calculation. That's why none of the Deep methods revolve around primitives. 这篇关于deepHash code。与字节数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!