static <A, B> Set<A> keySet(Map<A, B> map) { ret map == null ? new HashSet : map.keySet(); } static Set keySet(O map) { ret keys((Map) map); } ifclass MultiSet static <A> Set<A> keySet(MultiSet<A> ms) { ret ms.keySet(); } endif ifclass MultiMap static <A, B> Set<A> keySet(MultiMap<A, B> mm) { ret mm.keySet(); } endif ifclass SmallestListMultiMap static <A, B> Set<A> keySet(SmallestListMultiMap<A, B> mm) { ret mm.keySet(); } endif
Began life as a copy of #1002042
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: | #1013621 | 
| Snippet name: | keySet - synonym of keys | 
| Eternal ID of this version: | #1013621/2 | 
| Text MD5: | b635f712ec4779308527479794cfdd01 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2018-01-11 15:17:10 | 
| Source code size: | 489 bytes / 25 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 862 / 1074 | 
| Version history: | 1 change(s) | 
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |