(Object[] a, Object[] b)
| 270 | } |
| 271 | |
| 272 | public static boolean equals(Object[] a, Object[] b) { |
| 273 | if(a == b) { |
| 274 | return true; |
| 275 | } |
| 276 | if(a == null || b == null) { |
| 277 | return false; |
| 278 | } |
| 279 | if(a.length != b.length) { |
| 280 | return false; |
| 281 | } |
| 282 | for(int i = 0; i < a.length; i++) { |
| 283 | if(!equal(a[i], b[i])) { |
| 284 | return false; |
| 285 | } |
| 286 | } |
| 287 | return true; |
| 288 | } |
| 289 | |
| 290 | public static boolean equals(byte[] a, byte[] b) { |
| 291 | if(a == b) { |