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

9
LINES

< > BotCompany Repo | #1010884 // keysList - keys of map as list

JavaX fragment (include)

static <A, B> L<A> keysList(Map<A, B> map) {
  ret cloneListSynchronizingOn(keys(map), map);
}

ifclass MultiSet
  static <A> L<A> keysList(MultiSet<A> ms) {
    ret ms == null ? null : keysList(ms.map);
  }
endif

Author comment

Began life as a copy of #1004212

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1010884
Snippet name: keysList - keys of map as list
Eternal ID of this version: #1010884/4
Text MD5: abe6a5f44db12bd481bad28a0925d826
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-04 14:17:25
Source code size: 221 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 519 / 583
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1035913 - reversedKeysList