Libraryless. Click here for Pure Java version (32L/1K).
1 | static <A> Set<A> synchroTreeSet() {
|
2 | return Collections.synchronizedSet(new TreeSet<A>()); |
3 | } |
4 | |
5 | static <A> Set<A> synchroTreeSet(TreeSet<A> set) {
|
6 | ret Collections.synchronizedSet(set); |
7 | } |
Began life as a copy of #1001068
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1001190 |
| Snippet name: | synchroTreeSet |
| Eternal ID of this version: | #1001190/2 |
| Text MD5: | cf4beb70bab4e34079489465d93b5b22 |
| Transpilation MD5: | 6a71023e9934ffaa8d1b9b8d509db0ae |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-05-16 17:58:17 |
| Source code size: | 194 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1058 / 2560 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |