Transpiled version (31L) is out of date.
svoid ensureCapacity(int n, L<?> l) { if (l cast ArrayList) l.ensureCapacity(n); } svoid ensureCapacity(L<?> l, int n) { ensureCapacity(n, l); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034579 |
| Snippet name: | ensureCapacity - ensure list capacity (if it supports this. currently only for ArrayList) |
| Eternal ID of this version: | #1034579/2 |
| Text MD5: | 0f71ba3820b05eae1dd438a59d0d28cd |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-02-19 05:32:47 |
| Source code size: | 156 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 435 / 554 |
| Version history: | 1 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |