static <A, B> NavigableSet<A> navigableKeys(NavigableMap<A, B> map) { ret map == null ? new TreeSet : map.navigableKeySet(); } ifclass MultiSet static <A> NavigableSet<A> navigableKeys(MultiSet<A> ms) { ret ((NavigableMap) ms.map).navigableKeySet(); } endif ifclass MultiMap static <A, B> NavigableSet<A> navigableKeys(MultiMap<A, B> mm) { ret ((NavigableMap) mm.data).navigableKeySet(); } 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: | #1011620 |
Snippet name: | navigableKeys function |
Eternal ID of this version: | #1011620/7 |
Text MD5: | d55c6e98cdc83bc0d1cf0d76d317346f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-01 02:47:34 |
Source code size: | 429 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 592 / 654 |
Version history: | 6 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |