WritableComparator function ( Class < ? extends WritableComparable > arg0 , Configuration arg1 ) { WritableComparator loc0 = comparators . get ( arg0 ) ; if ( loc0 == null ) { forceInit ( arg0 ) ; loc0 = comparators . get ( arg0 ) ; if ( loc0 == null ) { loc0 = new WritableComparator ( arg0 , arg1 , true ) ; } } ReflectionUtils . setConf ( loc0 , arg1 ) ; return loc0 ; }
get a comparator for a writablecomparable implementation . concode_field_sep WritableComparable key1 concode_elem_sep ConcurrentHashMap<Class,WritableComparator> comparators concode_elem_sep WritableComparable key2 concode_elem_sep Class<? extends WritableComparable> keyClass concode_elem_sep Configuration conf concode_elem_sep DataInputBuffer buffer concode_field_sep int compare concode_elem_sep int compare concode_elem_sep int compare concode_elem_sep int hashBytes concode_elem_sep int hashBytes concode_elem_sep Configuration getConf concode_elem_sep WritableComparable newKey concode_elem_sep Class<? extends WritableComparable> getKeyClass concode_elem_sep int readVInt concode_elem_sep long readVLong concode_elem_sep void setConf concode_elem_sep long readLong concode_elem_sep void forceInit concode_elem_sep double readDouble concode_elem_sep void define concode_elem_sep int compareBytes concode_elem_sep float readFloat concode_elem_sep int readInt concode_elem_sep int readUnsignedShort