static O[] passParams(O[] _, S... params) { Map map = paramsToMap(_); new L l; int n = l(l)-1; for (S key : params) if (map.containsKey(key)) { l.add(key); l.add(map.get(key)); } ret empty(l) ? null : toObjectArray(l); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1021999 |
| Snippet name: | passParams |
| Eternal ID of this version: | #1021999/1 |
| Text MD5: | 153fe680861355d100ff153f1cc2c5cb |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-03-05 09:35:18 |
| Source code size: | 260 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 486 / 529 |
| Referenced in: | [show references] |