1 | static L<S> getRefNames(Concept c) { |
2 | new L<S> l; |
3 | for (S name : allFields(c)) |
4 | if (get(c, name) instanceof Concept.Ref) |
5 | l.add(name); |
6 | ret l; |
7 | } |
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: | #1005338 |
Snippet name: | getRefNames - names of all fields in concept that are references |
Eternal ID of this version: | #1005338/1 |
Text MD5: | 60f0fc7c31dbb2231305a83320b97c44 |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-11-07 13:24:17 |
Source code size: | 161 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 598 / 619 |
Referenced in: | [show references] |