(Object[] array)
| 257 | } |
| 258 | |
| 259 | public static int hashCode(Object[] array) { |
| 260 | if(array == null) { |
| 261 | return 9023; |
| 262 | } |
| 263 | |
| 264 | int hc = 823347; |
| 265 | for(Object o : array) { |
| 266 | hc += o != null ? o.hashCode() : 54267; |
| 267 | hc *= 3; |
| 268 | } |
| 269 | return hc; |
| 270 | } |
| 271 | |
| 272 | public static boolean equals(Object[] a, Object[] b) { |
| 273 | if(a == b) { |