Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1021412 // collectThreeFieldsAsTriple

JavaX fragment (include)

static <A, B, C, D> L<T3<A, B, C>> collectThreeFieldsAsTriple(fS fieldA, fS fieldB, fS fieldC, Iterable<D> l) {
  ret map(l, func(C c) -> T3<A, B, C> {
    t3((A) getOpt(c, fieldA), (B) getOpt(c, fieldB), (C) getOpt(c, fieldC)) });
}

Author comment

Began life as a copy of #1021402

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: #1021412
Snippet name: collectThreeFieldsAsTriple
Eternal ID of this version: #1021412/2
Text MD5: dd762439a2661c14d9bd35f9e6692a03
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-10 23:19:42
Source code size: 236 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 296 / 337
Version history: 1 change(s)
Referenced in: [show references]