int function ( VersionedChecksummedBytes arg0 ) { int loc0 = Integer . valueOf ( this . version ) . compareTo ( Integer . valueOf ( arg0 . version ) ) ; if ( loc0 == 0 ) { return UnsignedBytes . lexicographicalComparator ( ) . compare ( this . bytes , arg0 . bytes ) ; } else { return loc0 ; } }
this implementation uses an optimized google guava method to compare bytes . concode_field_sep byte[] bytes concode_elem_sep int version concode_field_sep int getVersion concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep VersionedChecksummedBytes clone concode_elem_sep String toString