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

7
LINES

< > BotCompany Repo | #1004838 // filterByDynamicType

JavaX fragment (include)

static <A> L<A> filterByDynamicType(Collection<A> c, S type) {
  new L<A> l;
  for (A x : c)
    if (eq(dynamicClassName(x), type))
      l.add(x);
  ret l;
}

Author comment

Began life as a copy of #1004806

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: #1004838
Snippet name: filterByDynamicType
Eternal ID of this version: #1004838/1
Text MD5: 0b23d9554a5527c8f8cf8d7fe5ac1df3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-09-03 22:50:26
Source code size: 164 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 519 / 531
Referenced in: [show references]