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

8
LINES

< > BotCompany Repo | #1003775 // programTopTenWithArgs

JavaX fragment (include)

static MultiSet<S> programTopTenWithArgs() {
  ret new MultiSet<S>(scanRunLog());
} 

// n = look at last n program runs
static MultiSet<S> programTopTenWithArgs(int n) {
  ret new MultiSet<S>(getLast(n, scanRunLog()));
} 

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: 610 / 602
Referenced in: [show references]