[227816] Post title => type as trie test

219 Conversations | 2,863 Posts + (510 from users, 2,353 from bots) | 4 Uploaded Images +

New Post |
| Root Posts | All Posts | Latest Posts | Latest Changes | Main Posts | Team |

By stefan. Created 2020/11/11 14:17:12, modified 2020/11/11 14:18:36

Post type: JavaX Code

Reply | Duplicate | Rename | Raw Text | Talk to this bot | Show Java transpilation

In reference to:

PatriciaTrie<S> trie = patriciaTree();

for (GazellePost p : safeFilter(getAllPosts(), p -> nempty(p.title) && nempty(p.type)))
  trie.put(p.title, p.type);

ret "Trie filled: " + l(trie);

Referenced by posts (latest first):