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

14
LINES

< > BotCompany Repo | #1011027 // cheatGuesser

JavaX fragment (include)

1  
sclass CheatGuesser extends F1<S, S> {
2  
  SS map;
3  
  
4  
  *() {}
5  
  *(SS *map) {}
6  
  
7  
  S get(S s) {
8  
    ret map.get(s);
9  
  }
10  
}
11  
12  
static CheatGuesser cheatGuesser(SS examples) {
13  
  ret CheatGuesser(examples);
14  
}

Author comment

Began life as a copy of #1011023

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: #1011027
Snippet name: cheatGuesser
Eternal ID of this version: #1011027/3
Text MD5: 5b6cbb3ddd39677a8c0a423b05f3e802
Author: stefan
Category: javax / guessers
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-11 19:31:40
Source code size: 214 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 453 / 459
Version history: 2 change(s)
Referenced in: [show references]