boolean function ( byte [ ] arg0 , byte [ ] arg1 ) { if ( arg0 == arg1 ) { return true ; } else if ( arg0 == null || arg1 == null ) { return false ; } else if ( arg0 . length != arg1 . length ) { return false ; } else { for ( int loc0 = 0 ; loc0 < arg0 . length ; loc0 ++ ) if ( arg0 [ loc0 ] != arg1 [ loc0 ] ) return false ; } return true ; }
test two byte arrays for deep equality . i think this exists in java 6 but not java 5 concode_field_sep Random SEEDED_RANDOM concode_elem_sep String LETTERS concode_elem_sep String CHARACTERS concode_elem_sep String DIGITS concode_elem_sep Random UNSEEDED_RANDOM concode_field_sep VoldemortMetadata createMetadata concode_elem_sep String randomString concode_elem_sep void increment concode_elem_sep int getMissingPartitionsSize concode_elem_sep void assertContains concode_elem_sep String quote concode_elem_sep long quantile concode_elem_sep List<Node> createNodes concode_elem_sep ByteArray toByteArray concode_elem_sep int[] randomInts concode_elem_sep File createTempDir concode_elem_sep File createTempDir concode_elem_sep VectorClock getClock concode_elem_sep int[] shuffle concode_elem_sep String createReadOnlyIndex concode_elem_sep String randomLetters concode_elem_sep byte[] randomBytes