@ SuppressWarnings ( "rawtypes" ) public final Map < String , MtasDataItemNumberComparator > getComparatorList ( ) throws IOException { if ( collectorType . equals ( DataCollector . COLLECTOR_TYPE_LIST ) ) { LinkedHashMap < String , MtasDataItemNumberComparator > comparatorList = new LinkedHashMap <> ( ) ; for ( Entry < String , MtasDataItem < T1 , T2 > > entry : list . entrySet ( ) ) { comparatorList . put ( entry . getKey ( ) , entry . getValue ( ) . getComparableValue ( ) ) ; } return comparatorList ; } else { throw new IOException ( "type " + collectorType + " not supported" ) ; } }
Gets the comparator list .