static Set toSet(O[] array) { ret asSet(array); } static Set<S> toSet(S[] array) { ret asSet(array); } static <A> Set<A> toSet(Iterable<A> l) { ret asSet(l); } // Note: does not clone the set (keeps multiset alive) static <A> Set<A> toSet(MultiSet<A> ms) { ret asSet(ms); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034242 |
Snippet name: | toSet - synonym of asSet |
Eternal ID of this version: | #1034242/1 |
Text MD5: | 9dac332bcb3265164c7db4f62d5df0ab |
Author: | someone |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-29 09:37:36 |
Source code size: | 295 bytes / 21 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 210 / 218 |
Referenced in: | [show references] |