Comparator < String > function ( final Collator arg0 ) { if ( arg0 == null ) { throw new NullPointerException ( "srini_string" ) ; } return new Comparator < String > ( ) { public int compare ( String arg1 , String arg2 ) { return compareNatural ( arg0 , arg1 , arg2 ) ; } } ; }
returns a comparator that compares contained numbers based on their numeric values and compares other parts using the given collator . concode_field_sep Comparator<String> IGNORE_CASE_NATURAL_COMPARATOR_ASCII concode_elem_sep Comparator<String> NATURAL_COMPARATOR_ASCII concode_field_sep int compare concode_elem_sep int compare concode_elem_sep int compareNaturalAscii concode_elem_sep Comparator<String> getNaturalComparatorAscii concode_elem_sep int compareNatural concode_elem_sep int compareNatural concode_elem_sep int compareNatural concode_elem_sep int compareNaturalIgnoreCaseAscii concode_elem_sep Comparator<String> getNaturalComparatorIgnoreCaseAscii