Libraryless. Click here for Pure Java version (2724L/16K).
1 | static <A> Vector<A> toVector(A[] array) { |
2 | ret new Vector(toList(array)); |
3 | } |
4 | |
5 | static <A> Vector<A> toVector(Cl<A> l) { |
6 | ret l == null ?: new Vector(l); |
7 | } |
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: | #1010290 |
Snippet name: | toVector |
Eternal ID of this version: | #1010290/2 |
Text MD5: | ad7ea06f2b3d7b9d8fb5e504d09c6798 |
Transpilation MD5: | b443bb5e7c87169a449519844d7dd84a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-03-26 15:08:59 |
Source code size: | 161 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 632 / 696 |
Version history: | 1 change(s) |
Referenced in: | [show references] |