MCPcopy Create free account
hub / github.com/PCGen/pcgen / getStringList

Method getStringList

code/src/java/pcgen/system/PropertyContext.java:194–197  ·  view source on GitHub ↗

Gets a property of the specified key as a list of String. If the list is not found, an empty list is returned. Note: This converts the string into a list by splitting it using ';' as a separator @param key the property key @return the value in this property context with the specified key value.

(String key)

Source from the content-addressed store, hash-verified

192 * @return the value in this property context with the specified key value.
193 */
194 List<String> getStringList(String key)
195 {
196 return getStringList(key, Collections.emptyList());
197 }
198
199 /**
200 * Gets a property of the specified key as a list of String

Callers 2

RecentFileListMethod · 0.80

Calls 4

getPropertyMethod · 0.95
emptyListMethod · 0.80
orElseMethod · 0.65
splitMethod · 0.45

Tested by

no test coverage detected