static function to generate an instance of the class . refer to the constructor for the param definitions . concode_field_sep Comparator<T> comparator concode_elem_sep String factorName concode_elem_sep int weight concode_elem_sep Logger logger concode_field_sep void updateWeight concode_elem_sep int compare concode_elem_sep int getWeight concode_elem_sep String getFactorName
FactorComparator < T > function ( String arg0 , int arg1 , Comparator < T > arg2 ) { if ( null == arg0 || arg0 . length ( ) == 0 || arg1 < 0 || null == arg2 ) { logger . error ( "srini_string" ) ; return null ; } return new FactorComparator < T > ( arg0 , arg1 , arg2 ) ; }