static <A> HashSet<A> asHashSet(Collection<A> c) { synchronized(collectionMutex(c)) { ret new HashSet(c); } } static <A> HashSet<A> asHashSet(A[] a) { ret a == null ? null : new HashSet(Arrays.asList(a)); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1005175 |
| Snippet name: | asHashSet |
| Eternal ID of this version: | #1005175/4 |
| Text MD5: | 824854fa4b0052ffc5831ada453769dc |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-03-14 19:56:17 |
| Source code size: | 225 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 864 / 848 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |