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

6
LINES

< > BotCompany Repo | #1026540 - containsOneKeyOf

JavaX fragment (include)

static <A, B> bool containsOneKeyOf(Map<A, B> map, A... keys) {
  fOr (A key : keys)
    if (containsKey(map, key))
      true;
  false;
}

Author comment

Began life as a copy of #1015453

download  show line numbers  debug dex   

Travelled to 5 computer(s): bhatertpkbcr, mqqgnosmbjvj, pzhvpgtvlbxg, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026540
Snippet name: containsOneKeyOf
Eternal ID of this version: #1026540/2
Text MD5: f02d6269f3ebf2e864a1f09746feb7ce
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-11 22:53:22
Source code size: 143 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 13 / 25
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1026540 & http://1026540.tinybrain.de