Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

13
LINES

< > BotCompany Repo | #1014362 // Test Trie [OK, but class is too wasteful]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (2795L/18K).

!7

!include once #1000859 // Trie

p {
  wordWrapConsole();
  Trie.Builder<S> builder = Trie.builder();
  for (S s : words("hallo hello hallihallo yo"))
    builder.put(s, "");
  Trie<S> trie = builder.build();
  printStruct(trie);
  print(trie);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1014362
Snippet name: Test Trie [OK, but class is too wasteful]
Eternal ID of this version: #1014362/4
Text MD5: 4116313c4634dd371fce102a4e234cd2
Transpilation MD5: 71a34cc37e8110fdd19c24566f8806e1
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-20 16:13:46
Source code size: 261 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 366 / 891
Version history: 3 change(s)
Referenced in: [show references]