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

3
LINES

< > BotCompany Repo | #1031669 // mapEntryToPair

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

Libraryless. Click here for Pure Java version (92L/1K).

static <A, B> Pair<A, B> mapEntryToPair(Map.Entry<A, B> e) {
  ret e == null ?: pair(e.getKey(), e.getValue());
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031669
Snippet name: mapEntryToPair
Eternal ID of this version: #1031669/1
Text MD5: 03fc3bc120aee3e8979b8052a3cb2c71
Transpilation MD5: a495e96a734be76097ad5b8edc9d8961
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-25 10:51:44
Source code size: 115 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 170 / 241
Referenced in: [show references]