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

8
LINES

< > BotCompany Repo | #1003775 // programTopTenWithArgs

JavaX fragment (include)

1  
static MultiSet<S> programTopTenWithArgs() {
2  
  ret new MultiSet<S>(scanRunLog());
3  
} 
4  
5  
// n = look at last n program runs
6  
static MultiSet<S> programTopTenWithArgs(int n) {
7  
  ret new MultiSet<S>(getLast(n, scanRunLog()));
8  
} 

Author comment

Began life as a copy of #1003768

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003775
Snippet name: programTopTenWithArgs
Eternal ID of this version: #1003775/1
Text MD5: 5d4cdca6d80ceff11a2eeece05f1444f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-14 15:36:26
Source code size: 229 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 538 / 531
Referenced in: [show references]