sclass RandomGuesser1 extends F1<S, S> { L<S> elements; *() {} *(L<S> *elements) {} S get(S s) { ret random(elements); } } static RandomGuesser1 randomGuesser1(SS examples) { ret RandomGuesser1(valuesList(examples)); }
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: | #1011023 |
Snippet name: | randomGuesser1 |
Eternal ID of this version: | #1011023/2 |
Text MD5: | 70be349594e9893bfd0c551109ec03dc |
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:29:23 |
Source code size: | 254 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 299 / 350 |
Version history: | 1 change(s) |
Referenced in: | [show references] |