Libraryless. Click here for Pure Java version (3834L/22K).
1 | // never returns null |
2 | |
3 | static <A> ArrayList<A> asListMinusLast(A[] a) { |
4 | ret removeLastAndReturnList(asList(a)); |
5 | } |
Began life as a copy of #1000999
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1032652 |
Snippet name: | asListMinusLast - always returns a new ArrayList (no wrapping) |
Eternal ID of this version: | #1032652/1 |
Text MD5: | 93c7c615ee8eedfc061f522cf65901b5 |
Transpilation MD5: | 01bd78f4fad8f67aaac5db46b44eb8c3 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-30 04:47:34 |
Source code size: | 119 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 153 / 206 |
Referenced in: | [show references] |