protected void populateCDs ( Map < String , List < String [ ] > > cdMap , String referencedComponentId , String featureId , String operator , String value , String unit ) { List < String [ ] > list ; // my ( $comp, $feature, $op, $value, $unit ) = @_; if ( ! cdMap . containsKey ( referencedComponentId ) ) { list = new ArrayList <> ( ) ; cdMap . put ( referencedComponentId , list ) ; } else { list = cdMap . get ( referencedComponentId ) ; } list . add ( new String [ ] { featureId , operator , value , unit } ) ; }
Populates concrete domains information .