Libraryless. Click here for Pure Java version (12623L/86K).
1 | static O[] allConceptFieldsAsParams(Concept c) { |
2 | Cl<S> l = conceptFields(c); |
3 | O[] params = new[l(l)*2]; |
4 | int i = 0; |
5 | fOr (S field : l) { |
6 | params[i++] = field; |
7 | params[i++] = cget(c, field); |
8 | } |
9 | ret params; |
10 | } |
Began life as a copy of #1005294
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: | #1026271 |
Snippet name: | allConceptFieldsAsParams |
Eternal ID of this version: | #1026271/4 |
Text MD5: | b9e945886eb202949643ced741eb9ef7 |
Transpilation MD5: | 51cbd3ed3e56525455e8932050c5ff6f |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-12-09 23:07:53 |
Source code size: | 229 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 256 / 337 |
Version history: | 3 change(s) |
Referenced in: | [show references] |