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

10
LINES

< > BotCompany Repo | #1008914 // Test MRUCache

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

Libraryless. Click here for Pure Java version (1941L/13K/46K).

!7

p {
  MRUCache<S, Int> cache = new(100);
  L<S> words = words2(loadSnippet(#1008407));
  print(n(words, "words"));
  for (S word : words)
    cache.put(word, toInt(cache.get(word))+1);
  pnl(cache);
}

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: #1008914
Snippet name: Test MRUCache
Eternal ID of this version: #1008914/5
Text MD5: 980a39dad4a1305b293c312e31bc3dfa
Transpilation MD5: 2d59f9d03b6c9ee054b3b53c596de539
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-18 17:24:25
Source code size: 213 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 464 / 606
Version history: 4 change(s)
Referenced in: