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

7
LINES

< > BotCompany Repo | #1029002 // keysWhereValueContainsString

JavaX fragment (include)

static <A> L<A> keysWhereValueContainsString(S b, Map<A, S> map) {
  new L<A> l;
  if (map != null) for (A key, S value : map)
    if (contains(value, b))
      l.add(key);
  ret l;
}

Author comment

Began life as a copy of #1028999

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: #1029002
Snippet name: keysWhereValueContainsString
Eternal ID of this version: #1029002/1
Text MD5: 1738b94edd8734aafbc886a33bd3e838
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:27:06
Source code size: 189 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 189 / 216
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)