Transpiled version (31L) is out of date.
1 | svoid ensureCapacity(int n, L<?> l) {
|
2 | if (l cast ArrayList) |
3 | l.ensureCapacity(n); |
4 | } |
5 | |
6 | svoid ensureCapacity(L<?> l, int n) { |
7 | ensureCapacity(n, l); |
8 | } |
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: | 436 / 555 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |