public int getWeight ( String classificationName ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "getWeight" , classificationName ) ; int weight = 0 ; // Get the weight of the classification ClassWeight cw = messageClasses . get ( classificationName ) ; if ( cw != null ) weight = cw . getWeight ( ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "getWeight" , Integer . valueOf ( weight ) ) ; return weight ; }
Get the weight of a named classification .