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

7
LINES

< > BotCompany Repo | #1016075 // filterByExactType

JavaX fragment (include)

1  
static <A> L<A> filterByExactType(Class<A> c, Iterable l) {
2  
  new L<A> l2;
3  
  for (O o : unnull(l))
4  
    if (isExactType(o, c))
5  
      l2.add((A) o);
6  
  ret l2;
7  
}

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: #1016075
Snippet name: filterByExactType
Eternal ID of this version: #1016075/2
Text MD5: 884302c141bc612e68915f15dbc8c6a2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-05 13:25:35
Source code size: 164 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 375 / 413
Version history: 1 change(s)
Referenced in: [show references]