1 | static L ccollect(Collection<? extends Concept> c, S field) { |
2 | new L l; |
3 | if (c != null) for (Concept a : c) |
4 | l.add(cget(a, field)); |
5 | ret l; |
6 | } |
7 | |
8 | static L mapMethodLike ccollect(S field, Collection<? extends Concept> c) { |
9 | ret ccollect(c, field); |
10 | } |
Began life as a copy of #1003047
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023707 |
Snippet name: | ccollect - collect field from concepts list |
Eternal ID of this version: | #1023707/1 |
Text MD5: | d019e70dfaf5ef0e789d1bf58376f391 |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-03 17:25:33 |
Source code size: | 261 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 288 / 311 |
Referenced in: | [show references] |