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

3
LINES

< > BotCompany Repo | #1030060 // firstEntry

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

Libraryless. Click here for Pure Java version (2516L/16K).

static <A, B> Map.Entry<A, B> firstEntry(Map<A, B> map) {
  ret empty(map) ? null : first(map.entrySet());
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030060
Snippet name: firstEntry
Eternal ID of this version: #1030060/2
Text MD5: 30998a257495e4c66287dc022f974275
Transpilation MD5: 8856ee06286b9575c62d0d4aa195c111
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-03 23:46:06
Source code size: 110 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 223 / 323
Version history: 1 change(s)
Referenced in: [show references]