MCPcopy Create free account
hub / github.com/apache/storm / Arg

Method Arg

storm-core/src/jvm/org/apache/storm/command/CLI.java:243–247  ·  view source on GitHub ↗
(String name, Parse parse, Assoc assoc)

Source from the content-addressed store, hash-verified

241 final Assoc assoc;
242
243 Arg(String name, Parse parse, Assoc assoc) {
244 this.name = name;
245 this.parse = parse == null ? AS_STRING : parse;
246 this.assoc = assoc == null ? INTO_LIST : assoc;
247 }
248
249 public Object process(Object current, String value) {
250 return assoc.assoc(current, parse.parse(value));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected