MCPcopy Create free account
hub / github.com/GateNLP/gate-core / getMap

Method getMap

src/main/java/gate/util/OptionsMap.java:193–195  ·  view source on GitHub ↗

If the object stored under key is a map then returns its value otherwise returns an empty map. @param key key associated to the value to retrieve @return the associated map

(Object key)

Source from the content-addressed store, hash-verified

191 * @return the associated map
192 */
193 public Map<String, String> getMap(Object key) {
194 return Strings.toMap((String) get(key));
195 }
196
197 /**
198 * Returns a String based view of the data. All the keys and values

Callers 5

getLocationsMethod · 0.80
initMethod · 0.80
getColorMethod · 0.80
saveColorMethod · 0.80
restoreSettingsMethod · 0.80

Calls 2

toMapMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected