parameters: (self, d_range_map, combinator)
return_statement: return combined_map
docstring: Creates a new DRangeToWorkspaceMap by combining this map with the
          specified map, using the specified combinator.
  
          :param d_range_map: The map to combine with this.
          :param combinator:  The combinator specifying how to combine.
          :return:            The combined map.
docstring_summary: Creates a new DRangeToWorkspaceMap by combining this map with the
          specified map, using the specified combinator.
docstring_tokens: Creates a new DRangeToWorkspaceMap by combining this map with the specified map using the specified combinator .
function: def combine(self, d_range_map, combinator):
          """
          Creates a new DRangeToWorkspaceMap by combining this map with the
          specified map, using the specified combinator.
  
          :param d_range_map: The map to combine with this.
          :param combinator:  The combinator specifying how to combine.
          :return:            The combined map.
          """
          combined_map = DRangeToWorkspaceMap()
  
          for d_range in self.keys():
              if d_range in d_range_map:
                  combined_map[d_range] = combinator(self._map[d_range], d_range_map[d_range])
          return combined_map
function_tokens: def combine ( self , d_range_map , combinator ) : combined_map = DRangeToWorkspaceMap ( ) for d_range in self . keys ( ) : if d_range in d_range_map : combined_map [ d_range ] = combinator ( self . _map [ d_range ] , d_range_map [ d_range ] ) return combined_map