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

7
LINES

< > BotCompany Repo | #1013145 // safeFunctionsOnly

JavaX fragment (include)

1  
static L<S> safeFunctionsOnly(Collection<S> functions) {
2  
  new L<S> l;
3  
  for (S sf : unnull(functions))
4  
    if (ai_isSafeToCall(sf))
5  
      l.add(sf);
6  
  ret l;
7  
}

Author comment

Began life as a copy of #1012903

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: #1013145
Snippet name: safeFunctionsOnly
Eternal ID of this version: #1013145/2
Text MD5: 9fc999d515694e25876af56d47a77143
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-26 07:06:51
Source code size: 166 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 341 / 368
Version history: 1 change(s)
Referenced in: [show references]