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

8
LINES

< > BotCompany Repo | #1006048 // filterConcepts - filter a list of concepts by params

JavaX fragment (include)

1  
static <A extends Concept> L<A> filterConcepts(L<A> list, O... params) {
2  
  if (empty(params)) ret list;
3  
  new L<A> l;
4  
  for (A x : list)
5  
    if (checkConceptFields(x, params))
6  
      l.add(x);
7  
  ret l;
8  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006048
Snippet name: filterConcepts - filter a list of concepts by params
Eternal ID of this version: #1006048/2
Text MD5: 4d12831e064b6a21056297cab55dcf92
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-02 12:39:08
Source code size: 209 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 536 / 587
Version history: 1 change(s)
Referenced in: [show references]