int function ( Object arg0 , Object arg1 ) { int loc0 = 0 ; try { Comparable loc1 = ( Comparable ) this . stringEncoder . encode ( arg0 ) ; Comparable loc2 = ( Comparable ) this . stringEncoder . encode ( arg1 ) ; loc0 = loc1 . compareTo ( loc2 ) ; } catch ( EncoderException loc1 ) { loc0 = 0 ; } return loc0 ; }
compares two strings based not on the strings themselves , but on an encoding of the two strings using the stringencoder this comparator was created with . if an encoderexception is encountered , return 0 . concode_field_sep StringEncoder stringEncoder concode_field_sep placeholderType placeHolder