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

3
LINES

< > BotCompany Repo | #1022716 // mapMinusOrNull - map minus some keys; null if empty

JavaX fragment (include)

static <A, B> Map<A, B> mapMinusOrNull(Map<A, B> map, O... keys) {
  ret nullIfEmpty(mapMinus(map, keys));
}

Author comment

Began life as a copy of #1004210

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022716
Snippet name: mapMinusOrNull - map minus some keys; null if empty
Eternal ID of this version: #1022716/3
Text MD5: 8e2080e879806626404a9df3a40202d4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-01 15:24:18
Source code size: 110 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 302 / 345
Version history: 2 change(s)
Referenced in: [show references]