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

3
LINES

< > BotCompany Repo | #1026305 // withoutNullValues

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

Libraryless. Click here for Pure Java version (2190L/14K).

static <A, B> Map<A, B> withoutNullValues(Map<A, B> map) {
  ret filterMapByValuePredicate(map, x -> x != null);
}

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: #1026305
Snippet name: withoutNullValues
Eternal ID of this version: #1026305/2
Text MD5: 253d7b2f2c7836e80e3f57e68fbc7995
Transpilation MD5: dfe06514077f773ddf3d6df1534c4d0b
Author: stefan
Category: javax / discord
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-12-15 15:50:46
Source code size: 116 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 124 / 191
Version history: 1 change(s)
Referenced in: [show references]