Create a feature map from an existing map (typically one that does not itself implement FeatureMap). @param map the map to convert. @return a new FeatureMap containing the same mappings as the source map.
(Map<?,?> map)
| 685 | * @return a new FeatureMap containing the same mappings as the source map. |
| 686 | */ |
| 687 | public static FeatureMap toFeatureMap(Map<?,?> map) { |
| 688 | FeatureMap fm = Factory.newFeatureMap(); |
| 689 | fm.putAll(map); |
| 690 | return fm; |
| 691 | } |
| 692 | |
| 693 | /** |
| 694 | * This method can be used to check if a ProcessingResource has |
nothing calls this directly
no test coverage detected