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

7
LINES

< > BotCompany Repo | #1025558 // valuesForKeysContainingIC

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

Libraryless. Click here for Pure Java version (175L/2K).

static <A> Collection<A> valuesForKeysContainingIC(Map<S, A> map, S x) {
  new L<A> l;
  if (map != null) for (Map.Entry<S, A> e : map.entrySet())
    if (cic(e.getKey(), x))
      l.add(e.getValue());
  ret l;
}

Author comment

Began life as a copy of #1021757

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1025558
Snippet name: valuesForKeysContainingIC
Eternal ID of this version: #1025558/3
Text MD5: f69fcb02ec92aa70ffa55add11134cc1
Transpilation MD5: 1110a0f05f3eb819757535f2c42b259f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-03 16:28:18
Source code size: 218 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 112 / 178
Version history: 2 change(s)
Referenced in: [show references]