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

3
LINES

< > BotCompany Repo | #1036586 // mapToPairsIterator

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

Libraryless. Click here for Pure Java version (10759L/59K).

static <A, B> ItIt<Pair<A, B>> mapToPairsIterator(Map<A, B> map) {
  ret map == null ?: mapI(map.entrySet(), e -> pair(e.getKey(), e.getValue()));
}

Author comment

Began life as a copy of #1011173

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036586
Snippet name: mapToPairsIterator
Eternal ID of this version: #1036586/1
Text MD5: 15c83eeda7cde6bcae3ec6cb1fd71426
Transpilation MD5: 8775b340abc39e02e974da0699d13c55
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-03-22 15:22:46
Source code size: 150 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 144 / 201
Referenced in: #761 - New #629 - Standard functions list (LIVE) - continued on #1006654