1 | static <A, B> LPair<A, B> shallowCloneListToFieldPairs(fS fieldA, fS fieldB, Iterable l) { |
2 | ret map(l, func(O o) -> Pair<A, B> { pair((A) getOpt(o, fieldA), (B) getOpt(o, fieldB)) }); |
3 | } |
Began life as a copy of #1020417
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020854 |
Snippet name: | shallowCloneListToFieldPairs |
Eternal ID of this version: | #1020854/3 |
Text MD5: | 78aa9ea69851a1acac5843e259283e57 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-05 17:08:21 |
Source code size: | 188 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 293 / 317 |
Version history: | 2 change(s) |
Referenced in: | [show references] |