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

6
LINES

< > BotCompany Repo | #1004004 // lastNonSystemLine

JavaX fragment (include)

static S lastNonSystemLine(L<S> l) {
  for (int i = l(l)-1; i >= 0; i--)
    if (!isSystemLine(l.get(i)))
      ret l.get(i);
  null;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004004
Snippet name: lastNonSystemLine
Eternal ID of this version: #1004004/1
Text MD5: 18283138dc4cb0bcea23202f66359b15
Author: stefan
Category: javax / talking robots
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-03 14:46:02
Source code size: 140 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 542 / 555
Referenced in: [show references]