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

14
LINES

< > BotCompany Repo | #1014649 // Suggester Module 1

JavaX module [tags: use-pretranspiled]

Download Jar. Libraryless. Click here for Pure Java version (7253L/49K/175K).

1  
!7
2  
3  
static L<Pair<S, Runnable>> lastList;
4  
5  
// text + action
6  
static L<Pair<S, Runnable>> suggest() {
7  
  L<Pair<S, Runnable>> l = new L; // Need Runnables because we export
8  
  
9  
  addPair(l, "Run VisualKatze", r { startVisualKatze() });
10  
  
11  
  // Return list unless same as last time
12  
  if (eq(firstOfPairs(lastList), firstOfPairs(l))) null;
13  
  ret lastList = l;
14  
}

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: #1014649
Snippet name: Suggester Module 1
Eternal ID of this version: #1014649/11
Text MD5: ffcd34362a53ced4220bfdd087497d8e
Transpilation MD5: 251c13ed4326b66632e922efd9c77248
Author: stefan
Category: javax / a.i. / gui
Type: JavaX module
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-27 17:19:37
Source code size: 368 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 436 / 1149
Version history: 10 change(s)
Referenced in: [show references]