question: public static Map < String , String > makeFeatureIdByTypeMap ( Map < String , Object > parameters ) { Map < String , String > featureIdByType = FastMap . newInstance ( ) ; if ( parameters == null ) return featureIdByType ; for ( Map . Entry < String , Object > entry : parameters . entrySet ( ) ) { String parameterName = entry . getKey ( ) ; if ( parameterName . startsWith ( "pft_" ) ) { String productFeatureTypeId = parameterName . substring ( 4 ) ; String productFeatureId = ( String ) entry . getValue ( ) ; if ( UtilValidate . isNotEmpty ( productFeatureId ) ) { featureIdByType . put ( productFeatureTypeId , productFeatureId ) ; } } } return featureIdByType ; }
target:  Handles parameters coming in prefixed with "pft_" where the text in the key following the prefix is a productFeatureTypeId and the value is a productFeatureId; meant to be used with drop-downs and such 