配列のハッシュコードを正しく計算するには、次のコードを使用してください。
Arrays.hashcode()
Arrays.deepHashcode()
Objects.hash(string, Arrays.hashcode(array))
Objects.hash()