1 | static <A> TreeSet<A> asTreeSet(Cl<A> set) { |
2 | ret set == null ? null : set instanceof TreeSet ? (TreeSet) set : new TreeSet(set); |
3 | } |
Began life as a copy of #1001899
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, veepotesqksf, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1002989 |
Snippet name: | asTreeSet |
Eternal ID of this version: | #1002989/2 |
Text MD5: | 1640808fd6ac057026af4605a847f6a5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-28 19:59:46 |
Source code size: | 134 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 672 / 657 |
Version history: | 1 change(s) |
Referenced in: | [show references] |