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

3
LINES

< > BotCompany Repo | #1005174 // valueSet (set of map's values as HashSet)

JavaX fragment (include)

static <A, B> Set<B> valueSet(Map<A, B> map) {
  ret asHashSet(values(map));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005174
Snippet name: valueSet (set of map's values as HashSet)
Eternal ID of this version: #1005174/2
Text MD5: 10f96fb8e81fba64260a043f8f04e955
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-03 14:40:42
Source code size: 80 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 559 / 573
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1030148 - ciValueSet (set of map's values as ciSet)