1 | static <A> TreeSet<A> littreeset(A... items) { |
2 | new TreeSet<A> set; |
3 | for (A a : items) set.add(a); |
4 | ret set; |
5 | } |
Began life as a copy of #1002287
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: | #1003051 |
Snippet name: | littreeset |
Eternal ID of this version: | #1003051/1 |
Text MD5: | 01363d37f920e59bdda6dac26fd8f580 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-04-26 17:07:32 |
Source code size: | 117 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 596 / 570 |
Referenced in: | [show references] |