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

8
LINES

< > BotCompany Repo | #1029003 // keysWhereValueContains_usingCandidates

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

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

static <A> L<A> keysWhereValueContains_usingCandidates(S b, Map<A, S> map, Iterable<A> candidates) {
  new L<A> l;
  if (map != null)
    fOr (A key : candidates)
      if (contains(map.get(key), b))
        l.add(key);
  ret l;
}

Author comment

Began life as a copy of #1029000

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: #1029003
Snippet name: keysWhereValueContains_usingCandidates
Eternal ID of this version: #1029003/1
Text MD5: 862219c19689b9150ba778a63b2c348d
Transpilation MD5: 918cc2c03a87f215896f773a4dd623ba
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-16 18:28:41
Source code size: 237 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 234 / 300
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)