MCPcopy Create free account
hub / github.com/Whiley/WhileyCompiler / fromStrings

Method fromStrings

src/main/java/wycc/util/Trie.java:263–269  ·  view source on GitHub ↗
(String... components)

Source from the content-addressed store, hash-verified

261 }
262
263 public static Trie fromStrings(String... components) {
264 Trie r = ROOT;
265 for(int i=0;i!=components.length;++i) {
266 r = r.append(components[i]);
267 }
268 return r;
269 }
270
271 /**
272 * Construct a Trie from a native string, where the separator is determined by

Callers 1

fromStringMethod · 0.95

Calls 1

appendMethod · 0.95

Tested by

no test coverage detected