returns a comparator that compares two byte arrayslexicographically . that is , it compares , using #compare byte , byte , the first pair of values that follow any common prefix , or when one array is a prefix of the other , treats the shorter array as the lesser . for example , the returned comparator is inconsistent with object #equals object since arrays support only identity equality , butit is consistent with java.util.arrays #equals byte , byte . concode_field_sep byte MAX_POWER_OF_TWO concode_field_sep byte saturatedCast concode_elem_sep int compare concode_elem_sep int compare concode_elem_sep byte min concode_elem_sep byte max concode_elem_sep byte checkedCast concode_elem_sep String join
Comparator < byte [ ] > function ( ) { return LexicographicalComparator . INSTANCE ; }