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

Method getSet

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

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

(Object key)

Source from the content-addressed store, hash-verified

179 * @return the associated linked hash set
180 */
181 public LinkedHashSet<String> getSet(Object key) {
182 return Strings.toSet((String) get(key), ", ");
183 }
184
185
186 /**

Callers

nothing calls this directly

Calls 2

toSetMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected