MCPcopy Create free account
hub / github.com/Card-Forge/forge / buildValidDesc

Method buildValidDesc

forge-core/src/main/java/forge/util/Lang.java:225–227  ·  view source on GitHub ↗
(Collection<String> valid, boolean multiple)

Source from the content-addressed store, hash-verified

223 }
224
225 public String buildValidDesc(Collection<String> valid, boolean multiple) {
226 return buildValidDesc(valid, multiple ? "and/or" : "or");
227 }
228 public String buildValidDesc(Collection<String> valid, String join) {
229 return joinHomogenous(valid.stream().map(s -> formatValidDesc(s)).collect(Collectors.toList()), null, join);
230 }

Callers 9

getDescriptiveTypeMethod · 0.80
TargetRestrictionsMethod · 0.80
formatReminderTextMethod · 0.80
parseMethod · 0.80
parseMethod · 0.80
parseMethod · 0.80
resolveMethod · 0.80
getStackDescriptionMethod · 0.80

Calls 4

joinHomogenousMethod · 0.95
formatValidDescMethod · 0.95
mapMethod · 0.65
streamMethod · 0.65

Tested by

no test coverage detected