Libraryless. Click here for Pure Java version (2208L/14K).
static LPair<?, ?> collectTwoFieldsAsPair(fS fieldA, fS fieldB, Iterable l) { ret map(l, func(O c) -> Pair<?, ?> { pair(getOpt(c, fieldA), getOpt(c, fieldB)) }); }
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: | #1021402 |
Snippet name: | collectTwoFieldsAsPair |
Eternal ID of this version: | #1021402/6 |
Text MD5: | 3e9df1a721983da8a478fbb6c7910a4c |
Transpilation MD5: | f9d4e6554ef0ec3c64b02c2fc46ffcd9 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-11-10 17:59:13 |
Source code size: | 167 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 328 / 421 |
Version history: | 5 change(s) |
Referenced in: | [show references] |