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

7
LINES

< > BotCompany Repo | #1028886 // secondOfListsWhereFirstEqic

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2499L/16K).

static L secondOfListsWhereFirstEqic(S a, Cl<L> l) {
  new L out;
  for (L x : l)
    if (eqic_gen(first(x), a))
      out.add(second(x));
  ret out;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028886
Snippet name: secondOfListsWhereFirstEqic
Eternal ID of this version: #1028886/1
Text MD5: 52428ad60a137cd6b427ef13958fc5ef
Transpilation MD5: cf5111abbeefad5d5dcbf0984e10857b
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-10 19:34:27
Source code size: 157 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 105 / 157
Referenced in: [show references]