Libraryless. Click here for Pure Java version (2724L/16K).
static <A> Vector<A> toVector(A[] array) { ret new Vector(toList(array)); } static <A> Vector<A> toVector(Cl<A> l) { ret l == null ?: new Vector(l); }
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: | 631 / 695 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |