public Map < String , String > getGroupNameValueMap ( String targetString ) { return getMatcherAsOpt ( targetString ) . map ( matcher -> groupNameList . stream ( ) . collect ( Collectors . toMap ( Function . identity ( ) , matcher :: group ) ) ) . orElseGet ( Collections :: emptyMap ) ; }
Gets group name value map .